sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
cacf0cd13890922a2dee8f986aa6830c7d644189265bd3a88fbf50a9ca54f3c5 | C/C++ | 2,075 | 63 | /*
igraph library.
Copyright (C) 2022-2025 The igraph development team <igraph@igraph.org>
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 y... |
aefeae13350559f242d7543f761dedf9e2351876499d2fdd2234b238c38484cd | C/C++ | 2,080 | 81 | /*
igraph library.
Copyright (C) 2022 The igraph development team <igraph@igraph.org>
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 o... |
6daa3e7e70d3b6a03a0965b38586fbe94018b40b0832e1931418ad2f087a75b3 | C/C++ | 2,081 | 56 | /* qmd.h (quotient minimum degree algorithm) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2001 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redis... |
f8889aadb34e2eb762176efece2f380cdd17655566dd0a96b988a8d05889efd6 | C/C++ | 2,084 | 48 | /*
igraph library.
Copyright (C) 2012-2025 The igraph development team <igraph@igraph.org>
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 y... |
5eb28b66cfae0522055f6cce16f47ac101864548853c532261083eda53787955 | C/C++ | 2,099 | 68 | /* colamd.h */
/* Written by Andrew Makhorin <mao@gnu.org>. */
#ifndef COLAMD_H
#define COLAMD_H
#include "env.h"
#define COLAMD_DATE "Nov 1, 2007"
#define COLAMD_VERSION_CODE(main, sub) ((main) * 1000 + (sub))
#define COLAMD_MAIN_VERSION 2
#define COLAMD_SUB_VERSION 7
#define COLAMD_SUBSUB_VERSION 1
#define COLAMD... |
1d09e0cb50b8b31b75a0d356df2bcc504e483ba93c79739ae685c38ab181213f | C/C++ | 2,108 | 72 | #ifndef PatchH
#define PatchH
#include <vector>
#include "core/ImageSource.h"
template<typename T>
class Patch : public ImageSource {
private:
T* _buffer;
unsigned long long _bufferSize;
bool _ownData;
std::vector<unsigned long long> _dimensions;
std::vector<unsigned long long> _strides;
... |
51158946ce9aa39f8a45220fdd697739e90f3d9a884827946c1242fdf3eb1a90 | C/C++ | 2,117 | 69 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
28c96699287981ec43f41ea779f37f885dc4d2990c7d80f735b7abe4a9ba3f18 | C/C++ | 2,127 | 62 | /*
igraph library.
Copyright (C) 2013-2024 The igraph development team <igraph@igraph.org>
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 y... |
fecd2a627094e5cd8be514046265c7c506ddcabab3fbbc3144ce65844b7e6e09 | C/C++ | 2,129 | 88 | /*
*
* 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... |
ae17513ae4130e4a81d1f5ba661bd6e8b0ae8d606eb562b2eff7b925db243925 | C/C++ | 2,130 | 64 | /* bfx.h (LP basis factorization driver, rational arithmetic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2007-2014 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free s... |
0e0fc2db38f99e465c31a228a1e802940e892a81b758b78868bae909ce405c4b | C/C++ | 2,132 | 69 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
0cd5cbdee4d8708fedf3bcb9b67d0fdd5f3e46e40e47f94ec4bd5b630e263db4 | C/C++ | 2,134 | 65 | /* rng.h (pseudo-random number generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistri... |
0eced633546c97cd70340a42bfa1dbe7e91b85f563126c3733cd09cc8d17b332 | C/C++ | 2,134 | 69 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
5b41cf28d61dcfa774cf5a528658ce676f0f7464f6adbdc63fb0bde5362368cf | C/C++ | 2,139 | 78 | /**
* <!--------------------------------------------------------------------------
* This file is part of libSBMLSim. Please visit
* http://fun.bio.keio.ac.jp/software/libsbmlsim/ for more
* information about libSBMLSim and its latest version.
*
* Copyright (C) 2011-2013 by the Keio University, Yokohama, Japan
... |
84a8e1384aef4712fa924699dfce97d40e69859f6a4c7a19776b478b063dd962 | C/C++ | 2,140 | 69 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
db472d17a05b0bcea06678512a144fb8c2a07e4316280b034f01e8436d29f937 | C/C++ | 2,140 | 100 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap... |
8c6ec9697365dcd66c64edf79fd389e77e5479d0e3ebb153e5a378b101b40924 | C/C++ | 2,142 | 69 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
dc999109502347337c1fc8b0e5d1c1c5fcab2d310f4e21d59a53fd6f6e94a678 | C/C++ | 2,145 | 52 | /*
igraph library.
Copyright (C) 2009-2020 The igraph development team
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 late... |
a349c2cce42cf08be44fff2e5b6ea47597a54f8a011ca89bc13c04c4a342ea13 | C/C++ | 2,147 | 62 | /* spxprob.h */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* u... |
99292bd78bcb597403d23ce90a6af61bf03634f1f483a57c02baecf802850cef | C/C++ | 2,153 | 51 | #ifndef __ASAP_NETWORKING_DJANGOCONNECTION__
#define __ASAP_NETWORKING_DJANGOCONNECTION__
#include <functional>
#include <mutex>
#include <unordered_map>
#include <cpprest/http_client.h>
#include "HTTPConnection.h"
namespace ASAP
{
/// <summary>
/// Represents a connection towards a specified Django... |
4e9a4382df4fdd0f0f273dbc665265ef22e7eebcc21a56f0f3483cb22adab78e | C/C++ | 2,163 | 72 | /* plfit_error.h
*
* Copyright (C) 2010-2011 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.
*
*... |
2539f9e1444e7b918607647e0f5784a15918f7e14754c9bdb5968a522ce5ad00 | C/C++ | 2,180 | 103 | #ifndef SURVIVAL_FOREST_GLOBALS_H_
#define SURVIVAL_FOREST_GLOBALS_H_
#include <cstdio>
#include <streambuf>
#include <stdlib.h>
#include <iostream>
using namespace std;
namespace ranger {
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
// Old/new Win build
#ifdef WIN_R_BUILD
#if __cplusplus < 20110... |
b71702f996bc00877c33161c0fd3aa71bf5f7a9de047c2f0330070b046e552c2 | C/C++ | 2,182 | 72 | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
ee0a593748caa64a10479f897c19190970e5276b2caa54efc11e14f72294b90d | C/C++ | 2,183 | 38 | #ifndef __ASAP_DATA_DIRECTORYSOURCE__
#define __ASAP_DATA_DIRECTORYSOURCE__
#include "WorklistSourceInterface.h"
namespace ASAP
{
class DirectorySource : public WorklistSourceInterface
{
public:
DirectorySource(const std::string directory_path);
WorklistSourceInterface::SourceType getSourceTyp... |
b62d76f99e4f7855c8af6934516a8e3d99d48edac2f2b7802608377d142dde87 | C/C++ | 2,185 | 40 | #ifndef __ASAP_DATA_FILELISTSOURCE__
#define __ASAP_DATA_FILELISTSOURCE__
#include <string>
#include "WorklistSourceInterface.h"
namespace ASAP
{
class FilelistSource : public WorklistSourceInterface
{
public:
FilelistSource(const std::string filepath);
WorklistSourceInterface::SourceType ge... |
ad264a864b031866ee9d07ff19d12d680d81ea741cc34bb010baaa2a304ae638 | C/C++ | 2,189 | 63 | /*
igraph library.
Copyright (C) 2014-2025 The igraph development team <igraph@igraph.org>
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 y... |
807773de287d7698d281c23d7f1558093d35ddff89a4bf47fb7734f910f79bd5 | C/C++ | 2,211 | 72 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
d593b94700467a85306c314f431b0c6fbb37347ae66ac5e900540dea3c671c8e | C/C++ | 2,217 | 51 | /*
igraph library.
Copyright (C) 2016-2022 The igraph development team <igraph@igraph.org>
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 y... |
2e636081ffea5f7abbb045992cdef7fca594c18155f426e612c4ece62ddf3d8f | C/C++ | 2,222 | 74 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
4d64b81e9f63819a39f67cdc21a3748a899d380d7707b1798b0d4c40ce0531d9 | C/C++ | 2,223 | 75 | /*******************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Anton Holmgren, Martin Rosvall
This file is part of the Infomap software package.
See file LICENSE_GPLv3.txt for full license details.
... |
c5d685e906194c1917ae0cee2f2037701695b1c967644dbaccab36e4df4a3091 | C/C++ | 2,247 | 75 | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
b11c92e7db5667b210179f83cd92f4e80217519bb3c88438e18d929e3071240f | C/C++ | 2,249 | 72 | /*
* Utility routines (ref) Press et al., "Numerical Recipes in C"
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 02:39:06 +0900
*/
#ifndef _NR_UTILS_H_
#define _NR_UTILS_H_
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI)... |
bbcfa2a7288e61ff6037765d7d9ab6b99dfe16efea2ea88e6e9f0438c77219cc | C/C++ | 2,255 | 72 | /**
* Copyright (c) 2020 CCS/GMRV/URJC/UPM.
*
* Authors: Juan P. Brito <juanpedro.brito@upm.es>
* Juan Jose Garcia Cantero <juanjose.garcia@urjc.es>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3.0 as publi... |
db2adfd60a50da3c1520b7984d81fb73952402528c1de63e5ccbb30da856cef7 | C/C++ | 2,267 | 44 | /*
igraph library.
Copyright (C) 2007-2025 The igraph development team <igraph@igraph.org>
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 y... |
2615f3f0fc688915afca23dd993b2dc697f333f281077fee1c4049e494aeedf6 | C/C++ | 2,282 | 54 | /*
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 Software Foundation; either ... |
0419fdb00575124ea4f4611f0e3673728e9e6f6e31b4a401ba52ba493c52fe02 | C/C++ | 2,304 | 88 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap s... |
7e89f1dd67d11d3c39f669ac5aacf5433d6acecc80a4a1f32723b4e32a32fef0 | C/C++ | 2,308 | 87 | /*
* BSD 3-Clause License
*
* Copyright (c) 2016-2021, UniFrac development team.
* All rights reserved.
*
* See LICENSE file for more details
*/
#ifndef __UNIFRAC_H
#define __UNIFRAC_H 1
#include <stack>
#include <string>
#include <vector>
#include <unordered_map>
#include "assay.h"
#include "tree.h"
#include... |
1ef4df3f69be82f6efd2e72d49a2bc1f2e9b311579404ccdb7396b37c9276057 | C/C++ | 2,311 | 103 | /*******************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Anton Holmgren, Martin Rosvall
This file is part of the Infomap software package.
See file LICENSE_GPLv3.txt for full license details.
... |
41a08e473fe1bdd08025b7a642bc3115eddbb8b6672f9a198a14e1344c972781 | C/C++ | 2,319 | 95 | #ifndef RENDERTHREAD_H
#define RENDERTHREAD_H
#include <QObject>
#include <QPointer>
#include <QMutex>
#include <QWaitCondition>
#include <memory>
#include <list>
#include "interfaces/interfaces.h"
class MultiResolutionImage;
class WSITileGraphicsItem;
class IOWorker;
class ThreadJob {
public:
un... |
f6a530107c81793bd9c7ce096cc8fbb120f989a1966022dd403034f3ddd1f455 | C/C++ | 2,329 | 55 | /*
igraph library.
Copyright (C) 2009-2020 The igraph development team <igraph@igraph.org>
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 y... |
3f50bce7ee8d3fb4a548c9a4f6cbea5ec7574a4261f1d33cc0f83747e29db099 | C/C++ | 2,342 | 64 | /*
igraph library.
Copyright (C) 2011-2012 Gabor Csardi <csardi@rmki.kfki.hu>
334 Harvard street, Cambridge MA, 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ver... |
790c7d8b0243b680b36a6a7794aa85ce9c558ffdb71cc92ede8492b622512780 | C/C++ | 2,342 | 94 | #ifndef _WSIDicomInstance
#define _WSIDicomInstance
#include "dicomfileformat_export.h"
#include <vector>
#include <string>
#include <map>
class DcmFileFormat;
class DcmMetaInfo;
class DcmDataset;
class DcmPixelData;
class DcmItem;
class JPEG2000Codec;
class DICOMFILEFORMAT_EXPORT WSIDicomInstance {
... |
1841ccd81fb81ed6ed57c0fb3fdcd001b4636952bf2b0424628d88617cdf025b | C/C++ | 2,354 | 77 | /*
* Copyright (c) 2020 CCS/GMRV/URJC/UPM.
*
* Authors: Juan P. Brito <juanpedro.brito@upm.es>
* Juan Jose Garcia Cantero <juanjose.garcia@urjc.es>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3.0 as publis... |
826b2e0e845dda1f01e3b3bc3d54e3858da343e8a12d1791939e1bb50b290503 | C/C++ | 2,354 | 70 | /*
* Copyright 2007 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
* certain rights in this software.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
9295701a3450820d3af28961600ecca224a6d815b41dfbbe7b2e0bdb0744d312 | C/C++ | 2,354 | 85 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap... |
79da3433578291aed86d0944c1b98bc9671803a20b96545c3db36663c496176c | C/C++ | 2,367 | 90 | /**
* Copyright (c) 2020 CCS/GMRV/URJC/UPM.
*
* Authors: Juan P. Brito <juanpedro.brito@upm.es>
* Juan Jose Garcia Cantero <juanjose.garcia@urjc.es>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3.0 as publi... |
0b78c207e9cd6fdd76cd108a7910a69ff2b8b565f99bb4fc5012c24ff7288837 | C/C++ | 2,372 | 70 | /*
* Copyright 2007 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
* certain rights in this software.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
c842640a005ca76119f57fa11cb0de776842d8a38e5bf4baf4274bf1a25894df | C/C++ | 2,376 | 71 | /* lufint.h (interface to LU-factorization) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2012-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can r... |
d4b74b7416d594c6aaec811ceab73c064423dc7c2f3884055a6c8ff5c2db0c18 | C/C++ | 2,389 | 71 | /* btfint.h (interface to BT-factorization) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2013-2014 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can r... |
0dc5a8a69019cf5a59c0956c9a1037dc41cefefe1e33c6e4594e22e472df8f5a | C/C++ | 2,390 | 101 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap... |
950209f349fdfcf059db5ff0dea725335dc67bc6fc5a72271e89d0ff9eccaee5 | C/C++ | 2,399 | 78 |
#ifndef CLIQUER_H
#define CLIQUER_H
#include <string.h>
/* This is an igraph-specific modification to cliquer.
* We use a 64-bit CLIQUER_LARGE_INT (even on 32-bit systems) in places
* which are prone to overflow. Since cliquer indicates interruption by
* returning -1 times the clique count, the effect of overflow... |
5dede7e92ae68aaa6ecec58fa35f683b615409ec569fab1d8aceee1454f7479f | C/C++ | 2,418 | 93 | /**
* Copyright (c) 2020 CCS/GMRV/URJC/UPM.
*
* Authors: Juan P. Brito <juanpedro.brito@upm.es>
* Juan Jose Garcia Cantero <juanjose.garcia@urjc.es>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3.0 as publi... |
22719136756fdbe5306363c650ab219ce102f1d046e86774837611e93604ec77 | C/C++ | 2,421 | 92 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap... |
06e018607e750312946fede21da2d302b02377458f59052f30c7a056b01cbc23 | C/C++ | 2,433 | 71 | /* avl.h (binary search tree) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2000-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it... |
99fca6ebdd4b6fb14cac2ea8de24138f15522744a6dc14725b089cb86a0538a9 | C/C++ | 2,436 | 74 | /* fvs.h (sparse vector in FVS format) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribut... |
0a33985af9ee9119eabd53bc0200e7fb75a0e660cd24ba4338bea7ab1c8edb6c | C/C++ | 2,454 | 62 | //
// Created by Miguel Monteiro on 29/01/2018.
//
#include <cuda_runtime.h>
extern "C++" void lattice_filter_gpu(float *output, const float *input, const float *positions, int pd, int vd, int n);
extern "C++" void
lattice_filter_gpu(double *output, const double *input, const double *positions, int pd, int vd, int ... |
f5c1c8a2af696bc543b5361a21f73026d2b0b328b545130e18c1b5034c8b47a0 | C/C++ | 2,460 | 87 | /*******************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Anton Holmgren, Martin Rosvall
This file is part of the Infomap software package.
See file LICENSE_GPLv3.txt for full license details.
... |
72e89e46d1db54283b27c5664db94c0130cf68d5cd7361703b424af8222c6493 | C/C++ | 2,468 | 84 | /* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright (c) 2020-2026, Christian Gaser. See LICENSE. */
/*
* Minimal portable threading for the TFCE mex-files.
*
* POSIX uses pthreads. Windows has no pthread.h when MATLAB compiles with MSVC,
* so the same handful of calls is mapped onto Win32 threads and critical
... |
736fcada130c9c207ed7a6fd5734fc61a5f78fe6dc35967abd57d0ee08b08f0c | C/C++ | 2,468 | 98 | #ifndef PATHOLOGYWORKSTATION_H
#define PATHOLOGYWORKSTATION_H
#include "asaplib_export.h"
#include <QMainWindow>
#include <QDir>
#include <QStringList>
#include <memory>
class MultiResolutionImage;
class QHBoxLayout;
class QAction;
class QStatusBar;
class QMenuBar;
class PathologyViewer;
class Workstat... |
dd2ff8c3cb5ff098f4d360ca180a113f3d63952dd317f5d8ab0f0cbf17db4d58 | C/C++ | 2,468 | 81 | /*
* BSD 3-Clause License
*
* Copyright (c) 2016-2021, UniFrac development team.
* All rights reserved.
*
* See LICENSE file for more details
*/
#ifndef __FAITH_ASSAY_H
#define __FAITH_ASSAY_H 1
#include <vector>
#include <unordered_map>
#include <Rcpp.h>
namespace su {
class Assay {
public:
// Cache th... |
246823e2432484f21dc70776260b99b4f5b31bb535ecc95d8fd6b62195511e94 | C/C++ | 2,475 | 57 | /*
igraph library.
Copyright (C) 2017-2025 The igraph development team <igraph@igraph.org>
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 y... |
3f61ccc25cb8a4ead02b6135639c155da41d335722e93df0c779611901708296 | C/C++ | 2,475 | 79 | /* dimacs.h (reading data in DIMACS format) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can r... |
6f3194c6bd0634649f1fa9c33da795bf50ba67170a0e862e0bfd4efaf2176a5f | C/C++ | 2,517 | 181 | /*
igraph library.
Copyright (C) 2007-2025 The igraph development team <igraph@igraph.org>
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 y... |
51c7c946ebaf7b679a69cbf6a1a0812db0dbe0f6a1842b33a9c585d96c93a6b4 | C/C++ | 2,519 | 76 | /* fhvint.h (interface to FHV-factorization) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2012-2014 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can ... |
36543254cf8cebdc072bde42747c54ce09723a22c06f16f8da5e3f58e8e6d79c | C/C++ | 2,522 | 57 | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
4fcc5fab977c415c905f7a3376395c327b4408c069163852b9e0590cd32b8056 | C/C++ | 2,545 | 71 | /*
igraph library.
Copyright (C) 2009-2020 The igraph development team
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 late... |
8b467807f29c385082b677412be62dc8e5ea612857730bcb366a391e093b93f5 | C/C++ | 2,550 | 80 | /*
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 Software Foundation; either ... |
bfe2a77cd866f5a7ee553085c2e44d43614a32c3584509c9546fe349ea3fcca1 | C/C++ | 2,554 | 67 | /*
igraph library.
Copyright (C) 2009-2025 The igraph development team <igraph@igraph.org>
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 y... |
cc078d4140ea19c2267d61734e308d80472ccf0f2f33891d824910cb24b2dcd6 | C/C++ | 2,554 | 63 | /*
igraph library.
Copyright (C) 2009-2024 The igraph development team <igraph@igraph.org>
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 y... |
00630a7e61519c5f727d13c2c49ce844861f93dc6c6cef81321f8707c0ce1109 | C/C++ | 2,556 | 54 | /*
igraph library.
Copyright (C) 2009-2025 The igraph development team <igraph@igraph.org>
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 y... |
949fcf0ad298f6a79b6b1fe1e5c03b492e85ae4d89bba4406f0dfd22fff1924f | C/C++ | 2,583 | 96 | #ifndef NON_PARAMETRIC_H_
#define NON_PARAMETRIC_H_
#include <algorithm> // generate
#include <vector> // vector
#include <iterator> // begin, end, and ostream_iterator
#include <functional> // bind
#include <iostream> // cout
#include <ctime> //clock
#if defined(_WIN32) || defined(_WIN64) || defined(__CY... |
e3c28527895d41fe94e86baaa78eea9b43e45d0338d4f17393f64a34fe6777f1 | C/C++ | 2,596 | 67 | /*
igraph library.
Copyright (C) 2009-2025 The igraph development team <igraph@igraph.org>
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 y... |
a80ebceb29990e8e5b927d833ef26dbe62a9b45f8116c225603fa5102d587b1d | C/C++ | 2,621 | 87 | /* plfit_mt.h
*
* Mersenne Twister random number generator, based on the implementation of
* Michael Brundage (which has been placed in the public domain).
*
* Author: Tamas Nepusz (original by Michael Brundage)
*
* See the following URL for the original implementation:
* http://www.qbrundage.com/michaelb/pubs/... |
f6752fc3e3bbf575f2804044abc04037035f4afd4ecb95c45e9b1d190fdb2669 | C/C++ | 2,624 | 86 | #ifndef VISUALIZATIONWORKSTATIONEXTENSIONPLUGIN_H
#define VISUALIZATIONWORKSTATIONEXTENSIONPLUGIN_H
#include <memory>
#include "interfaces/interfaces.h"
#include "core/PathologyEnums.h"
class QCheckBox;
class QDialog;
class XmlRepository;
class QGraphicsPolygonItem;
class AnnotationList;
class QHBoxLayout... |
e335559e3e44d7df7c42999e5beed97fa5d876c94717ee6355d5679aa27cc834 | C/C++ | 2,631 | 88 | /**
* Copyright (c) 2020 CCS/GMRV/URJC/UPM.
*
* Authors: Juan P. Brito <juanpedro.brito@upm.es>
* Juan Jose Garcia Cantero <juanjose.garcia@urjc.es>
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License version 3.0 as publi... |
9d93858d04d36f6719cc1e83834bc316163f75ab2943424b68f3746422fd21c2 | C/C++ | 2,636 | 68 | /*
* Copyright 2007 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
* certain rights in this software.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
17b839f6e044d10c43aa875c43c9e19571d19b3046533a122c19e46ffddbd7d0 | C/C++ | 2,664 | 110 | /*******************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Anton Holmgren, Martin Rosvall
This file is part of the Infomap software package.
See file LICENSE_GPLv3.txt for full license details.
... |
7342d7e90891c6210eb1b62ec7c4f135d271617158c88f83f4b8ac67a0002977 | C/C++ | 2,690 | 87 | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
a3d9efe2d4a6c74df3d7afae97f0d8d91270ea29157325f35cc7202d25c9fea9 | C/C++ | 2,699 | 81 | /* spv.h (operations on sparse vectors) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2007-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redis... |
4fe22e329eedb4e11bee262826e65666f0c7e0a3318aa1828079d43bbe072a89 | C/C++ | 2,702 | 80 | #ifndef TileManager_H
#define TileManager_H
#include <QObject>
#include <QRectF>
#include <QPointF>
#include <QPointer>
#include <map>
#include <memory>
class MultiResolutionImage;
class IOThread;
class WSITileGraphicsItemCache;
class WSITileGraphicsItem;
class QGraphicsScene;
class QPainterPath;
clas... |
ead84c565824f84ee83c7a83bb337f77049e7e12750ae73aa28f1a73801fe678 | C/C++ | 2,729 | 81 | /*
* Copyright 2007 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
* certain rights in this software.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
abff7fc8ce23c8ce91f8963704de35b36c62315be85202703ffa5cc0574c28df | C/C++ | 2,751 | 111 | /**********************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall
For more information, see <http://www.mapequation.org>
This file is part of Infomap software package.
Infomap... |
309068477a1b27ab986a8eba36cc7829a2f2eebdbc02f89ad2e3c8827bba3ce1 | C/C++ | 2,755 | 71 | /*
igraph library.
Copyright (C) 2009-2020 The igraph development team
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 late... |
eb25a64355f9f240f32c8a2f6fa4e696ea0648a25511ac7eac3acee2cb33f42d | C/C++ | 2,776 | 81 | /*
* Copyright 2007 Sandia Corporation. Under the terms of Contract
* DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
* certain rights in this software.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
5896c526b3667d34468e911097b9b050a3384604822564af648673b9f3407013 | C/C++ | 2,790 | 67 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
347dac0fa0f6e3574d3bc4c5922e0477bc1e65d47f9961044c1464f340907674 | C/C++ | 2,800 | 75 | /* spxchuzr.h */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify i... |
8ef7d8b782010055cdc514e88de39ca1e78fbd45f82fed6680da1efd6b8fe0e7 | C/C++ | 2,837 | 78 | /* spxat.h */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* und... |
f9295b13c59c8e9d4b51faf85e2a46a463bb85bc0f85cb90e516f3cbafada555 | C/C++ | 2,841 | 68 | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
9aabb8256507209debb0b29c8faed9dce10c618eed6478216b9e51f415ee1023 | C/C++ | 2,845 | 88 | /* This file was imported from a private scientific library
* based on GSL coined Home Scientific Libray (HSL) by its author
* Jerome Benoit; this very material is itself inspired from the
* material written by G. Jungan and distributed by GSL.
* Ultimately, some modifications were done in order to render the
* im... |
543b5caa801fb67caf6678620641d3a5b74454c115fc07e31ca228704b26747c | C/C++ | 2,864 | 97 | /*
igraph library.
Copyright (C) 2003-2025 The igraph development team <igraph@igraph.org>
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 y... |
707625967c5a6b7b080eb348407fa72447cd97ab53ec1726816c201b638b537a | C/C++ | 2,872 | 137 | /*******************************************************************************
Infomap software package for multi-level network clustering
Copyright (c) 2013, 2014 Daniel Edler, Anton Holmgren, Martin Rosvall
This file is part of the Infomap software package.
See file LICENSE_GPLv3.txt for full license details.
... |
b024a96cf3ce321476c0f85ecfff5183d637cf05bd5a09fefcb67b1877857c4c | C/C++ | 2,884 | 78 | #ifndef _ConnectedComponentsWholeSlideFilter
#define _ConnectedComponentsWholeSlideFilter
#include "wholeslidefilters_export.h"
#include <string>
#include <vector>
#include <memory>
class MultiResolutionImage;
class ProgressMonitor;
class WHOLESLIDEFILTERS_EXPORT ConnectedComponentsWholeSlideFilter {
p... |
edccb6beaa03348f0409cf7b7986f44761ff10f1d64b039163f72b3730ee3f14 | C/C++ | 2,885 | 63 | /*
igraph library.
Copyright (C) 2013-2025 The igraph development team <igraph@igraph.org>
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 y... |
0ee36f0022bd195d1da89f1614db87183bf33cc7dd2831d38f391d65e56ac5b6 | C/C++ | 2,896 | 109 | /*
*
* 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... |
2b02c3a2672e2b989e60c877322922cf77e41d65d42df1de1d22b3e46dcf1b6e | C/C++ | 2,910 | 83 | /* spychuzc.h */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify i... |
deca2d7444571bbda6c8321f9d56ceae1dbcf9142616184b98b0bf6b9d02163a | C/C++ | 2,929 | 67 | /*
igraph library.
Copyright (C) 2007-2025 The igraph development team <igraph@igraph.org>
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 y... |
dcd0d9e2040af29757a4f07f851c42f80c8910b1180e88a37a3f6d142da8cc07 | C/C++ | 2,931 | 104 | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
8f982ce5c09be2794975d1a758ff10b4e06fc110d324fe6dd8a7cb531ad373e4 | C/C++ | 2,939 | 141 | #ifndef SYSDEP_H_INCLUDED
#include "sysdep1.h"
#endif
#include "stdio.h"
#include "errno.h"
#ifndef NULL
/* ANSI C */
#include "stddef.h"
#endif
#ifndef SEEK_SET
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
#endif
#ifndef FOPEN
#define FOPEN fopen
#endif
#ifndef FREOPEN
#define FREOPEN freopen
#endif
#i... |
cf3eaf68cdc3df0c3fc92cc9f897c85acdd6e6f5da15ee839370710de8df0e4e | C/C++ | 2,946 | 83 | /* spxchuzc.h */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
6468f61d7c2d7e381b4a91fbc7b23e160cdf4c6dea7cfb156fdafe667cfe78a3 | C/C++ | 2,957 | 93 | /*
igraph library.
Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.