sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
78dad0a7ad82bbe53c31f578f62062ee9114549cad8e978b1d0c456db1c1a486 | C/C++ | 11,449 | 448 | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "info.h"
#define LINEAR_SEARCH_LIMIT 5000
#define MOST 18
typedef struct DATATYPE1 {
long power;
MP_INT *valid;
struct MP_ARRAY_TYPE denom;
struct MP_ARRAY_TYPE the_primes;
struct MP_ARRAY_TYPE kill_us;
MP_INT *prim;
MP_RAT... |
b8087db54584f5f5170fb8033c4a3de1499618d217f5c696556007a77daf67fd | C/C++ | 11,547 | 265 | /* -*- 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... |
dfdac33de2e4b2776e03d135d00a29bb9cdcbfd2658bb6ddb6359f7631b583fa | C/C++ | 11,754 | 313 | /* -*- 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... |
9dc84b5803f9351794892107b9d1c5495b1fb83d24ca3de54056c0bc555fe745 | C/C++ | 11,773 | 271 | /******************************************************************************
* In order to make life a little bit easier when using the GIF file format, *
* this library was written, and which does all the dirty work... *
* *
* Written by Gershon Elber, Jun. 1989 *
* Hacks by Eri... |
655ab411675992be6c0440b445d98a67db9f813e6c216c5399744987c5cf4e9a | C/C++ | 11,802 | 315 | /******************************************************************************
* Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
5c44e7d61acf713ee54d2f5bf2aebcb4c209c1387b484acf924e71118c60e193 | C/C++ | 11,815 | 311 | /***************************************************************************
neighbor.h
-------------------
Nitin Dhamankar (Intel)
W. Michael Brown (ORNL)
Peng Wang (Nvid... |
4da3654f5bd6048d4c1a0a36c81e93069129fdd28f2c12e331f28bb8ab6a2c96 | C/C++ | 11,837 | 299 | // 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 <atomic>
#include <chrono>
#include <limits>
#include <mutex>
#include <... |
7680642b752354bf45ca3bf4790f1889143413e5f1ab20627c6fa5669107be6f | C/C++ | 11,930 | 288 | /*
*
* 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... |
afbd1e5ad40f166402a427bd76302eab79269e59b0bb78e0e253e7bf41bf2e39 | C/C++ | 11,992 | 306 | // 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/Rtree.h"
#include "carla/geom/T... |
3bd0c6e2e37b52431fbc8cada5a4c0a797a3ff3ef6cd20672f6ecc9bf15da628 | C/C++ | 12,015 | 346 | /// Json-cpp amalgamated forward header (http://jsoncpp.sourceforge.net/).
/// It is intended to be used with #include "json/json-forwards.h"
/// This header provides forward declaration for all JsonCpp types.
// //////////////////////////////////////////////////////////////////////
// Beginning of content of file: LI... |
95e50d41bbba8e7ed5fefb7307f4c47e2d954476f3c80e754cfd76d2f8dd73cf | C/C++ | 12,038 | 311 | // 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... |
ec0d6befda46bb1a1298c1112520ef46dc3eef30b3a18633bf35cb74495de36f | C/C++ | 12,123 | 344 | /*=========================================================================
idpRegistrationDispatcher.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpRegistrationDispatcher_h
#define __idpRegistration... |
be395eb0cf5bc8c8b71f84ebfc09f1482517912612147e577afbc346f6dc1e2e | C/C++ | 12,195 | 250 | /* -*- 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... |
5d1993664c93f806b3ffacf96f443ddaa653c789bd45551259293d536d8f5905 | C/C++ | 12,196 | 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 "carla/trafficmanager/Constants.h"
#include "carla/rpc/Actor.h"
#includ... |
97a0d5fdd5667d7c1d9c5dcfeee002bcc53d95a619b8e922587326706dcb9eb9 | C/C++ | 12,367 | 369 | // Copyright (c) 2017 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 "Blueprint/UserWidget.h"
#include "ProceduralMeshComponent.... |
8d8e1077537df8159562aecef36309e2aa88e067e820cb744889788e9256e7ec | C/C++ | 12,406 | 287 | /* -*- 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... |
04887095e7ee9707375d7a10747cf7778fee6030c63a3637b3ca0d96c227b6f8 | C/C++ | 12,411 | 440 | /***************************************************************************************************
* 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... |
82e1ab98282b10e9c70af964105703b3f376b1529c79bee0b2969659acf11eca | C/C++ | 12,460 | 240 | // 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
};
#include "fid_2d.h"
struct shared_data_2d
{
static int n_verbose; //0: minimal, 1: normal
static double error_scale; //scale of error in M... |
f52ed7c53251a4c4fb3f5dc1cbc3fa61702976d014b7bbf0313c92695d687180 | C/C++ | 12,709 | 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 <atomic>
#include <chrono>
#include <random>
#include <unordered_map>
#... |
73273b5ef47c4d93b19f0025a0f726ea13de32f563fa35391e547d2392e7f3ff | C/C++ | 12,741 | 473 | // 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/road/Map.h"
#include "carla/road/element/RoadInfoCrosswalk.h"
#in... |
520bea901c4862911ced8edfa69b8e89db783da4d5f362e60edf350652f680f2 | C/C++ | 12,796 | 324 | /*********************************************************************
** This library uses the netcdf - version 3.4 which is
** Copyright 1993-1997 University Corporation for Atmospheric Research/Unidata
** The netcdf library is provided as per the terms of the
** UCAR/Unidata license.
** See netcdf-3.4/cop... |
a9c235ad78e0b65b538bba0adc36c9c81140fa26fe37c68a20c66fbdead6408e | C/C++ | 12,816 | 329 | // 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/LightState.h>
#include <... |
3974a3493b00baff336886c8cc4f52f80b6a407cb3ce202dd971372d89e73f58 | C/C++ | 12,852 | 244 | /***************************************************************************************************
* 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... |
47dbebd4961dc5c7600b00661413220b5a2af48cfb64ac2327ff159f37acc5b5 | C/C++ | 12,978 | 335 | #ifndef ACTIONet_H
#define ACTIONet_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 <atomic>
#include <cmath>
#include <ctime>
#include ... |
4114ead99b23b9da8cae5392ec702118fe04df94fb49862f365c292b4102a35e | C/C++ | 13,048 | 401 | /* -*- 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... |
dd201c62bfe6e4a5387ea7d8dc16279ef76860d8cdb4f889a2947a2b7640368c | C/C++ | 13,183 | 422 | // 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 <map>
#include <mutex>
#include <vector>
#include "carla/client/Actor.h... |
a3252fde54fdedb877e380130b45ea291e308559d8124f0a0d1b7f735ed4beb6 | C/C++ | 13,233 | 389 | #ifndef MINIMAP2_H
#define MINIMAP2_H
#include <stdint.h>
#include <stdio.h>
#include <sys/types.h>
#define MM_F_NO_DIAG 0x001 // no exact diagonal hit
#define MM_F_NO_DUAL 0x002 // skip pairs where query name is lexicographically larger than target name
#define MM_F_CIGAR 0x004
#define MM_F_OUT_S... |
e767e0a7cc13cfdb9d83e984ddc6bc4b4431e5c3dece3371b6e31f5c0e38648f | C/C++ | 13,333 | 292 | /* -*- 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... |
e679d085a982c11d4f34d24560b4dc5b78a97c91184ff5e6cabae646ad3a26d9 | C/C++ | 13,345 | 476 | /*=========================================================================
idpImageSeries.h
Copyright (c) Allen Institute for Brain Science. All rights reserved.
=========================================================================*/
#ifndef __idpImageSeries_h
#define __idpImageSeries_h
#include "itkObject... |
7ae2fd8e68a1f506ef6bbea437246ef4bf6a2d50f8882b9ee3d03a30c9e3b047 | C/C++ | 13,400 | 324 | // 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/Exception.h"
#include "carla/client/Actor.h"
#... |
eb7c9ea3949b4d7b7fef07e7124646d2aa31b6d6dbfd24b7c29ecef429f00c4f | C/C++ | 13,562 | 486 | /* @file fast5lite.h
**
** lightweight fast5 reading
** adapted from Nanopolish: nanopolish_fast5_io.cpp originally authored by Jared Simpson
** Code was adapted by Hasindu Gamaarachchi
** @@
******************************************************************************/
#ifndef FAST5LITE_H
#define FAST5LITE_H
#ifnde... |
f029c1050c5a37d4d49657373e36bc1007626ec358646c32646a316aed56017c | C/C++ | 13,596 | 457 | /**********************************************************************
** This program is part of the kinetics library and is
** copyright (C) 1995 Upinder S. Bhalla.
** It is made available under the terms of the
** GNU Library General Public License.
** See the file COPYRIGHT for the full n... |
c51de19f075a7ca756cb99487f8572fa8e32a20c943ff7df389fba46bd5756fa | C/C++ | 13,631 | 318 | /*
* RegionContraction.h
*
* Created by Tobias Wood on 17/08/2012.
* Copyright (c) 2012-2013 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/.... |
c8bca50df08b60ad4159f904929e3f1faf45e5b00bc888d61ecc0e3dc99dc428 | C/C++ | 13,638 | 341 | /* Version EDS22g 99/02/11 Erik De Schutter, Caltech & BBF-UIA 4/92-2/99 */
/*
** $Id: hines_struct.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $
** $Log: hines_struct.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.10 2001/01/... |
f25af5515ec219a20c18d02024d71408b9598adf16c992dbcb7e86ecc7856c94 | C/C++ | 13,725 | 451 | // 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/ActorDispatcher.h"
#include "Carla/Recorder/CarlaRecorder.h... |
951a5aeae08562dfc4a3bcc72de9952ac0045126a1cef9eedf9c6881ecb91a03 | C/C++ | 13,802 | 304 | /**
* @file
*
* IPv6 address scopes, zones, and scoping policy.
*
* This header provides the means to implement support for IPv6 address scopes,
* as per RFC 4007. An address scope can be either global or more constrained.
* In lwIP, we say that an address "has a scope" or "is scoped" when its scope
* is constr... |
8e354a1dd112e2818d973862834923ca7a01cac1556c14c7d37b5d0c28c59330 | C/C++ | 13,932 | 446 | #ifndef GRAPH_UNDIRECTED
#define GRAPH_UNDIRECTED
#include <math.h>
#include <algorithm>
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "util.h"
#include <ACTIONet.h>
using namespace std;
inline bool compEdges(pair<pair<unsigned, unsigned>, double> ... |
d596884f8c5d743060aa7d54cfdc957eff1c4ebab8792d75c8d558a3df49b937 | C/C++ | 13,954 | 380 | #ifndef EIGEN_MONEGATO_H
#define EIGEN_MONEGATO_H
namespace Eigen
{
/**
* \ingroup NumericalIntegration_Module
*
* \class Monegato
*
* \brief A class for computing the Gauss/Kronrod weights.
*
* \tparam Scalar floating point type
*
* This class is based on "Some remark... |
de92b339759ccd5ad150bed86bd746540054e6035d6a994bc00d04a50a4f9c44 | C/C++ | 14,038 | 393 | /**
* @file
* Support for different processor and compiler architectures
*/
/*
* 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 ... |
8b27813c2810b0564585ec06b1e1124f7dca28436c64125df15d496b1bf5627e | C/C++ | 14,107 | 328 | /**
* @file
* IP API
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must re... |
e49fd3204628d9dfa7b73c0e5a3cde300b72de0f6556fbcfdeaf7417efa11905 | C/C++ | 14,108 | 409 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2013 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 F... |
4a0d6549840ed1fe97cc525d20f157a59b4b7ab4c108c72ec1c143492bca0cb7 | C/C++ | 14,120 | 330 | /*!All tissue classes and functions for tissues.*/
/*! \file Material.h
\brief All tissue classes and functions for tissues.
\version 1.0.0
\date Andreas Wachter 01.09.15
\author Andreas Wachter\n
Institute of Biomedical Engineering\n
Kit\n
http://www.ibt.kit.de\n
\sa Synopsis \ref Material
*/
#ifndef _R... |
63f6fc9cd76482ea585fb96cfe2e0cfe3f53b2f6b6c681d4eeb5f4a792610f76 | C/C++ | 14,140 | 568 | /*
*
* 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... |
2dd803aafb7e7a5cdc1ae7ff898ae589c641fdd96e5f97500d69be82644f6c6c | C/C++ | 14,191 | 333 | /* -*- 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... |
43143bd08995da21c7d9258dc3544e4debd54418b34879d2cdd6f42763e39963 | C/C++ | 14,294 | 322 | /**
* @file
* pbuf API
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must ... |
c036ec49d523a57dc5970cd750142cf66b7b43fac9ad82cb71de3f0f4eda3d18 | C/C++ | 14,466 | 534 | /***************************************************************************************************
* 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... |
52ec79e6b91de75952e71f1929857788d5665c8dcb752d8477151d76e16ffb19 | C/C++ | 14,516 | 429 | /***************************************************************************************************
* 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) / ... |
68c851b6fb9ca6182e0d25c41c16bf1d3cdbbaf53452140933e4bd2f7b05336a | C/C++ | 14,522 | 479 | /*********************************************************************
* Copyright 1996, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Id: tests.h,v 1.1.1.1 2005/06/14 04:38:30 svitak Exp $
*********************************************************************/
#... |
e429d048f139c9d67d9523a1597828c2754c1e22ec13a25f0d8bfbf52d2a8bc4 | C/C++ | 14,795 | 354 | // 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/BufferView.h"
#include "carla/geom/Tran... |
226888829e92f37f5e34e04f8472c2bc00f16817f41253288b7746eb1afeeb7a | C/C++ | 14,805 | 377 | /**
* @file
* SNMP core API for implementing MIBs
*/
/*
* Copyright (c) 2006 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 that the following conditions are met:
*
* 1. Redistribu... |
295e3f2f9be188c05a90c2bb7e57a250a07e5ca7c54bdd31a50309da82cc5874 | C/C++ | 14,893 | 491 | /**
* @file
* Statistics API (to be used from TCPIP thread)
*/
/*
* 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.... |
5f51dadff93fc3772b02d0f1f320880af03f6befc672863253435f8529b8bfcf | C/C++ | 15,144 | 348 | /***************************************************************************
device.h
-------------------
W. Michael Brown (ORNL)
Class for management of the device where the computations are performed
______________________... |
78804688e56c7e47daadfbbe72c2e0b4263c8d0d14cc15d27e677def9216f1c8 | C/C++ | 15,292 | 497 | #ifndef DAG
#define DAG
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "util.h"
using namespace std;
class DAGNode {
public:
inline DAGNode(){};
inline DAGNode(string node_name, unsigned int node_id,
map<string, unsigned>& gene... |
fcedcc2e603d155bad124e837e119abf616f1acafbee5315dd2a55adcf13fe42 | C/C++ | 15,350 | 610 | /*
* 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 disclaimer.
* 2. Redistributions in bin... |
ffac5d9f847f9ab95bd63406f2b184391df5e65a460dcb4b2a5fedba11e6b23b | C/C++ | 15,379 | 536 | /***************************************************************************************************
* 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) / ... |
cb8f83140546d95573c459a42dc126a3f258a455fdef38148126aee7ce19499a | C/C++ | 15,657 | 396 | /**
* @file
* HTTP server options list
*/
/*
* 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 s... |
65de18316f184c7f5904f20bdbb47c545680d47cf8af1e319c69714f432f2358 | C/C++ | 15,674 | 537 | /* @file f5c.h
**
** high level interface to f5c framework - major definitions and function prototypes
** @author: Hasindu Gamaarachchi (hasindu@unsw.edu.au)
** @@
******************************************************************************/
#ifndef F5C_H
#define F5C_H
#include <htslib/faidx.h>
#include <htslib/hts... |
ae32f6e0f595ec310e0b43a9e0fc445a78dd619fd1749165ceb6f3566d631d10 | C/C++ | 15,676 | 424 | // 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 "RegionOfInterest.h"
#include <util/ue-header-guard-begin.h>
#include ... |
bbf1be8284f27ae6c058a851c6f98b323d0e8fb355f208e438eb588a8b3c8bc9 | C/C++ | 15,682 | 332 | #pragma once
#include <util/ue-header-guard-begin.h>
#include "Engine/Scene.h"
#include "GameFramework/Actor.h"
#include <util/ue-header-guard-end.h>
#include "Sky.generated.h"
struct FWeatherParameters;
class UPostProcessComponent;
class UExponentialHeightFogComponent;
class UDirectionalLightComponent;
class USkyLi... |
f35d7411b896dc4c2b99ae8cc9e7b3829355d11ce94beda4cc345f88c4f6af32 | C/C++ | 15,882 | 395 | /* -*- 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... |
e69898d4b78c5d245ccdf567919231b2180236d42e98cc780911acff14f6b2f2 | C/C++ | 16,244 | 549 | /***************************************************************************************************
* 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) / ... |
35ecae0154971128613874556585462b112d6de8c557b62252172ed2b0272928 | C/C++ | 16,329 | 435 | #ifndef EIGEN_PIESSENS_H
#define EIGEN_PIESSENS_H
#include <iostream>
namespace Eigen {
/**
* \ingroup NumericalIntegration_Module
*
* \class Piessens
*
* \brief This class computes Kronrod abscissae & weights for arbitrary precision
*
* \tparam Scalar floating point type
*
* This class is based on the work... |
b0d36b0500219490afc272d023cad5882e2d9a8a496599f5e386affce891e9e8 | C/C++ | 16,430 | 474 | /* The MIT License
Copyright (c) 2019 by 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 limitation t... |
8a04340f31a5d5eee3b804e306cda65b6cb49e432b6c4f5c4b0fcde8b3f40462 | C/C++ | 16,851 | 579 | // 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/Time.h"
... |
b6c292c79f552ddcfe0a20a7244383a5173ba102a008151600a24f23b8243bb7 | C/C++ | 17,278 | 997 | /***************************************************************************************************
* 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... |
8447f443957484dfbaf1f335ea246e678dd41cdc8edfecdb08196bc0b9270b7b | C/C++ | 17,577 | 574 | /***************************************************************************
atom.h
-------------------
W. Michael Brown (ORNL)
Class for particle data management
____________________________________________________________... |
77af4ad57c026460dd92fe27248854482bbbea8f827fe649db7a90fdc3a14df9 | C/C++ | 17,715 | 441 | #pragma once
// Standard includes
#include <array>
#include <functional>
#include <string>
#include <tuple>
#include <vector>
// Standard C includes
#include <cmath>
// GeNN includes
#include "models.h"
//----------------------------------------------------------------------------
// Macros
//----------------------... |
51f32da337cc0b7ccbf3ae7081c8c756c51af50afc6d0f70167e91625263413a | C/C++ | 18,049 | 715 | /***************************************************************************************************
* 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... |
f6c708d438457906eaa322a158d6630138bcc8dffbbaee4b9d02fee073127fb8 | C/C++ | 18,069 | 431 | /**
* @file
* netconn API (to be used from non-TCPIP threads)
*/
/*
* 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:
*
* ... |
31f0329610da849797fa443f981f67562a73626917ea369e05e777eda2677499 | C/C++ | 18,074 | 808 | /*
Copyright (c) 2013-2017, tinydir authors:
- Cong Xu
- Lautis Sun
- Baudouin Feildel
- Andargor <andargor@yahoo.com>
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 m... |
e62382afa1c68ed837d0c51a2ac5d971e72787c429e07ddc9d6044e66bf25323 | C/C++ | 18,215 | 312 | #pragma once
#include "Cube.h"
#include "DataStructs.h"
namespace MeshReconstruction
{
void Triangulate(
IntersectInfo const &intersect,
Fun3v const &grad,
Mesh &mesh);
}
namespace
{
// Indices into vertex buffer (0 - 11).
// Three successive entries make up one triangle.
// -1 means unused.... |
1dbc5e8ddd4c379303d4a3416f628063f0814814d365cc20dad5d89e0baa4070 | C/C++ | 18,592 | 352 | /**
* @file
*
* IPv6 addresses.
*/
/*
* 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... |
0875070ac774f699faea90feaddaae188282036ed760842a73d6b02401295c2a | C/C++ | 18,697 | 423 | // 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 <spdlog/spdlog.h>
#include <ad/map/landmark/LandmarkIdSet.hpp>
#include <ad/map/match/Object.hpp>
#include <ad/map/route/FullRout... |
b9332b5433c3aa4153efae2a44e1c8c311cb50d0a72965b3c1003274136d8567 | C/C++ | 18,724 | 566 | // 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/Math/DVector.h"
#include "Carla/Vehicle/CarlaWheeledVehicle.h"
#i... |
d5f16d86d2be865db5af85b8593daae6f504398a26f52d4c51cc234105336510 | C/C++ | 18,926 | 1,785 | #define PRIMELISTSIZE1 1000
#define STEP 1000
#define PRIMELISTSIZE2 1778
int prime_list[PRIMELISTSIZE2] =
{
11863279,
11863259,
11863253,
11863249,
11863237,
11863213,
11863207,
11863183,
11863171,
11863153,
11863151,
11863133,
11863121,
11863109,
11863099,
11863073,
11863067,
11863057,
11863... |
30fe24a5176042850cd083c53b11021838c86d47bb26d550866aa3424c263d47 | C/C++ | 18,995 | 500 | /**
* @file
* TCP API (to be used from TCPIP thread)\n
* See also @ref tcp_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... |
56c3c04d66f41df2810ac5791cb1d8308fcf7e084d80963c5910c5ce94520a9c | C/C++ | 19,392 | 756 | /***************************************************************************************************
* 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... |
7803827ddf1dcbfa4d117c46f1a52c4db99e216c577fd20a93bec1327f1f2462 | C/C++ | 19,431 | 559 |
#ifndef FID_2D_H
#define FID_2D_H
#include <vector>
#include <map>
#include <string>
#include <cstdint>
#include <cmath>
#include "fid_base.h"
namespace ldw_math_spectrum_2d
{
bool SplitFilename (const std::string& str, std::string &path_name, std::string &file_name, std::string &file_name_ext);
double... |
a167a6dd4ca4d1d8d8d7209564e3c5acc3fb5c6878b086d2b31e262530376a7d | C/C++ | 19,497 | 369 |
/// This file contains various constants used in traffic manager
/// arranged into sensible namespaces for re-usability across
/// different files.
#pragma once
#include <chrono>
#include <limits>
#include <stdint.h>
#include <iostream>
#include <vector>
#define SQUARE(a) ((a) * (a))
#define RATE(MaxY, MinY, DiffX)... |
aeca9a124afeed0c1bfbe6ab880a79d6345a4524b9ca11a0bf775e4e6045615b | C/C++ | 19,984 | 513 | /*
** $Id: sim_func_ext.h,v 1.2 2005/06/27 19:01:07 svitak Exp $
** $Log: sim_func_ext.h,v $
** Revision 1.2 2005/06/27 19:01:07 svitak
** Added explicit types to untyped functions and fixed return values as
** appropriate. Initialized values explicitly when it was unclear if
** they were being used uninitializ... |
9c309963b0679348d102e23665ced46740dda427dc23916d6f0434dd6170ae0b | C/C++ | 20,051 | 438 | /**
* @file
* IP address API (common IPv4 and IPv6)
*/
/*
* 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. Redistr... |
9d137d4f2930ebc4450bb616c698d5f453876937566f3adc848964e47fd4e5f2 | C/C++ | 20,065 | 735 | // 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/ActorInfo.h"
#include "Carla/Actor/ActorData.h"
#include "C... |
920c08bcc75cf3c38c56166e1ca4e16b2dd61486848f5ad20e4edea96d6383da | C/C++ | 20,077 | 521 | /* $Id: par_struct.h,v 1.1.1.1 2005/06/14 04:38:39 svitak Exp $
* $Log: par_struct.h,v $
* Revision 1.1.1.1 2005/06/14 04:38:39 svitak
* Import from snapshot of CalTech CVS tree of June 8, 2005
*
* Revision 1.1 1999/12/19 03:59:42 mhucka
* Adding PGENESIS from GENESIS 2.1 CDROM release.
*
* Revis... |
f484b3791d7dcf1705f6f9af6ad0bca7061d826cd6d7c349e7715551fbf163e2 | C/C++ | 20,294 | 658 | /*
* Copyright 1996, University Corporation for Atmospheric Research
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
*/
/* "$Id: ncx.h,v 1.1.1.1 2005/06/14 04:38:32 svitak Exp $" */
#ifndef _NCX_H_
#define _NCX_H_
/*
* An external data representation interface.
*
* This starte... |
e5a88c0e7172001b2887bb693b0013316deea87f295175c83a66de31ac051702 | C/C++ | 20,325 | 481 | #ifndef EIGEN_LAURIEGAUTSCHI_H
#define EIGEN_LAURIEGAUTSCHI_H
namespace Eigen
{
/**
* \ingroup NumericalIntegration_Module
*
* \class LaurieGautschi
*
* \tparam Scalar floating point type
*
* \brief This class computes Kronrod abscissae & weights for arbitrary precision.
*
... |
979b393c6a094a9bdf8ba792bc2112a0c8aff583df12a3ab67a8829f3d8ac326 | C/C++ | 20,420 | 572 | // Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#pragma once
#include <cstddef>
#include "carla/ros2/types/msg/AckermannDrive.h"
#include "carla/ro... |
5176ed8816a28c02d897ec47bd27021ad1d6420f9039a460f8b8293ffb0a945a | C/C++ | 20,474 | 1,081 | /***************************************************************************************************
* 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... |
55999fa613a0bd2237fd69502b647ccad249b27306e19da6e0a2e55c4b4ac146 | C/C++ | 20,628 | 570 | /* bam.h -- BAM API.
Copyright (C) 2008-2014, 2019 Genome Research Ltd.
Portions copyright (C) 2010-2012 Broad Institute.
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"), ... |
cac3a40fbfc8bb00fadc81d23ce36ea5ddec650a6b9fb86d512bb7f1acd2847e | C/C++ | 20,681 | 587 |
#ifndef FID_3D_H
#define FID_3D_H
#include <vector>
#include <string>
#include <map>
#include <string>
#include <cstddef>
#include <cstdint>
#include <array>
#include "fid_1d.h"
#include "fid_2d.h" // Including fid_2d.h might be useful for some shared utilities or if we want to follow similar patterns
class fid_3d ... |
9185fe182ce98d3152d704943fd8be49b7ceee0b8386d56e5c1be5b4452c0d0b | C/C++ | 20,762 | 578 | /**
* @file
* OS abstraction layer
*/
/*
* 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 sourc... |
b3afdfa1de222566e734df723923f79104ab8306723618b793d91f8be6a92cf9 | C/C++ | 21,650 | 279 | // using 1,2,3,4 bytes per value
static uint8_t lengthTable[256] ={
4, 5, 6, 7, 5, 6, 7, 8, 6, 7, 8, 9, 7, 8, 9, 10,
5, 6, 7, 8, 6, 7, 8, 9, 7, 8, 9, 10, 8, 9, 10, 11,
6, 7, 8, 9, 7, 8, 9, 10, 8, 9, 10, 11, 9, 10, 11, 12,
7, 8, 9, 10, 8, 9, 10, 11, 9, 10, 11, 12, 10, 11, ... |
1fdc23e8b2fd1577dd2f922b03aba0412d58502167c84672f8bbf7f50d6c83c5 | C/C++ | 21,845 | 606 | #ifndef GENESIS_UTILS_CORE_LOGGING_H_
#define GENESIS_UTILS_CORE_LOGGING_H_
/*
Genesis - A toolkit for working with phylogenetic data.
Copyright (C) 2014-2016 Lucas Czech
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publis... |
547929dbf334d846444094ecb363680bf90320b198ac1e49027fda4049c07233 | C/C++ | 22,445 | 523 | /**
* @file
* TCP 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 conditions a... |
d32d6075006022afc4381e38062f652a4ba2f417217f3415ee4fb7d70add483a | C/C++ | 22,859 | 849 | /***************************************************************************************************
* 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) / ... |
6d61de20bb08e0a612c153ee8d1ad864dcb8bbf886f531e15af2ecaf14fb3c13 | C/C++ | 23,050 | 474 | // 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/Vehicle/VehicleSpawnPoint.h"
#include <util/disable-ue4-macros.h>... |
1a13ea9d8fa3efa59bd3df46a6be80c973a8f2b74aeefd2fbe80e7ae3febdfd2 | C/C++ | 23,156 | 892 | /***************************************************************************************************
* 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... |
716f2dc51d1733e0b4ef4bdc86adc22113ba1c887505d2b4f0604c6162317f3d | C/C++ | 23,980 | 438 | /*
*
* 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... |
114a11a7b0385fed51bddca61c742849709fc28814876bb8e0385dd261df5ee2 | C/C++ | 24,010 | 632 | /* gmp.h -- Definitions for GNU multiple precision functions.
Copyright (C) 1991, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public Licen... |
6dca07cded5781cde8b19f4b0ff70daa8caf9192a7abef54569eb183aeceaafc | C/C++ | 24,506 | 926 | /* -*- mode: C -*- */
/*
IGraph library.
Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softw... |
28a49379c749adfb5dd0e03d59f892e3226fce0bba62833cbd8db95f7828269d | C/C++ | 24,893 | 722 | /*****************************************************************************
* ppp.h - Network Point to Point Protocol header file.
*
* Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
* portions Copyright (c) 1997 Global Election Systems Inc.
*
* The authors hereby grant permission to use, copy... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.