sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
b7164a89db888b14f99deacd9588e0478904b1f809a0ffef2e04b15e567a24be | C/C++ | 5,155 | 165 | /*******************************************************************************
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.
... |
a44d070f6e3162587b8897597d5e70c6f194a1bd2afb3494abe331e33121d2b9 | C/C++ | 5,175 | 136 | /*
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 03:01:46 +0900
*/
#ifndef __mtsim__
#define __mtsim__
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "mtgraphics.h"
#include ... |
d4597df7b010b2bc068f082d7ed6e7003bdc549c9b6246aacbcbf9d0ac3e7077 | C/C++ | 5,195 | 136 | /*
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 03:01:46 +0900
*/
#ifndef __mtsim__
#define __mtsim__
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "mtgraphics.h"
#include ... |
408a3052ed0ad3e41ffa0d737d47e1a195896658465f53c18902ff23143a61e6 | C/C++ | 5,211 | 271 | #include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sys/sysinfo.h>
typedef struct
{
char *name;
double mem;
int *ranks;
int nrank;
double tmem;
int nfiles;
int *files;
} node;
void
freenode (node inode)
{
free (inode.name);
free (inode.ranks);
fr... |
0e1bb2f6331aa0e4fddd400de6e09ef7127342962feb91bc288858e151997e59 | C/C++ | 5,241 | 98 | /*
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... |
60566fad9df4ad5534ed43cd75587acb47b373b97860553722049bcb6568826c | C/C++ | 5,250 | 158 | /*
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... |
6a45912989ede7b294b7c03211f30f88ca19d6541bec9b8eaed5d0f38f2226b7 | C/C++ | 5,250 | 216 | /*******************************************************************************
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.
... |
d6e3ffa7ef13d9a6157cfd1c1ba20d9a325cc4c19afe5d6520ce629786edee46 | C/C++ | 5,378 | 141 | /*
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... |
9e24b9e20adbee540552e6359a6e4687dec3de348728c32ea63024500491b59c | C/C++ | 5,471 | 161 | /*<html><pre> -<a href="qh-qhull_r.htm"
>-------------------------------</a><a name="TOP">-</a>
qhull_ra.h
all header files for compiling qhull with reentrant code
included before C++ headers for user_r.h:QHULL_CRTDBG
see qh-qhull.htm
see libqhull_r.h for user-level defi... |
12335a0281453bfe18ded3eda290d2f5d99d9da5e2cfc278f3d214a0c2e0939f | C/C++ | 5,626 | 139 | /*
igraph library.
Copyright (C) 2020 The igraph development team
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,... |
b9aef29e64550375feccf431f9c4619c7ad9e02bf20e9e32a7df2c01c89a8c21 | C/C++ | 5,639 | 244 | /* f2c.h -- Standard Fortran to C header file */
/** barf [ba:rf] 2. "He suggested using FORTRAN, and everybody barfed."
- From The Shogakukan DICTIONARY OF NEW ENGLISH (Second edition) */
#ifndef F2C_INCLUDE
#define F2C_INCLUDE
typedef int integer;
typedef unsigned int uinteger;
typedef char *address;
ty... |
510fb0a60d7243aea6cc3071ddaa79cba6c3136f00c84a0a46f99f99e04d0170 | C/C++ | 5,709 | 180 | /*******************************************************************************
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.
... |
2ff72b9d54cd48f7dd730e22ecc1bcc73a8dba4b6a5818580424f24bf4c6ba11 | C/C++ | 5,717 | 134 | /*
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... |
e20a14b84c44a9385ddcc210cf83ea75d7b6453dfaaedd2ff59b757cea971cc2 | C/C++ | 5,741 | 111 | /*
igraph library.
Copyright (C) 2021 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... |
6bce8e81b53bfd7bddee1d3a1ee24c1358fa080011666324561e47d9d6e00d0f | C/C++ | 5,777 | 174 | /*******************************************************************************
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.
... |
29090d40b09e294957eb9f1162cbeec6ab1879670424f77ac3e353d7ab3deba0 | C/C++ | 5,854 | 185 | /*******************************************************************************
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.
... |
bda26089ffc31ad57f14c8b37aea4684beb743f02bcd407c3ea3b32f46898209 | C/C++ | 5,884 | 234 | #ifndef SURVIVAL_FOREST_DATA_H_
#define SURVIVAL_FOREST_DATA_H_
#include <vector>
#include <iostream>
#include <numeric>
#include <random>
#include <algorithm>
#include <utility>
#include "survival_forest_globals.h"
namespace ranger {
class Data {
public:
Data();
Data(const Data&) = delete;
Data(std::vect... |
8812a717eac180eb54164acd01334d75f8835f55e855ca92630097a8a356e98c | C/C++ | 5,902 | 138 | /* gss.h
*
* Copyright (C) 2012 Tamas Nepusz
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program... |
d5ebaadd550f2f64f51cfcce1f9cf45c7f28ee84a14cb269afdd30f32306e5e2 | C/C++ | 5,917 | 144 | /* -*- 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... |
8e1f06e56102001ce3e6c7ecc8d12b7520e9885604e6c7ebb8ea817fc49e6986 | C/C++ | 6,010 | 156 | /* -*- 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... |
fea3fbe9a2b33d303b177f085658e92ab9d651f63c605eb0af64132ed4b87db1 | C/C++ | 6,126 | 160 | /**********************************************************************************
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... |
0dad3874fc7f25e1d16bedd8d33e5e5dc47d4a1eb8dada84548be7b82e116b5a | C/C++ | 6,158 | 147 | /*
igraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
52a800af66a49ee7f9d1e8a4b991ce55697aa698d8abfaa3b09a50e0767f4908 | C/C++ | 6,249 | 168 | /* plfit_sampling.h
*
* Copyright (C) 2012 Tamas Nepusz
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* T... |
52618b9bdd9544c84c553f7cc2590c8934460153692a2dc8b4da65517531e36c | C/C++ | 6,441 | 160 | /*
igraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, Cambridge, MA, 02138 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ver... |
1dcd2ac5cd6ee335d3167f9ec8e077e4521abb420960bbc4091365c0f11ce841 | C/C++ | 6,455 | 104 | /*
igraph library.
Copyright (C) 2010-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... |
ee31ad47a939f06b0f98947f9e5ba022ecee975fc117c8bfdb0e58cbe087c59f | C/C++ | 6,550 | 239 | // Copyright (c) 2020 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... |
f2c49647e50785c2c4e3832bb44a6bb4dcdf087bb79c0f62a0a5eccdfb3b9ef3 | C/C++ | 6,551 | 159 | /* sva.h (sparse vector area) */
/***********************************************************************
* 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 redistribute it... |
b243a74d9180e2daf4615abb0622c6d8fd9f4bfd90dce56cc4f605d2c014e638 | C/C++ | 6,598 | 293 | /**********************************************************************************
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... |
ea966ee1211da83b804a481f393398f3011547341ba74cc4e67a571b7b382f92 | C/C++ | 6,637 | 118 | /*
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... |
0f9971a78fd6a9f5aa985ee23ff095e42f3823a13300c9850330e58c8926a969 | C/C++ | 6,654 | 184 | /*
igraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
e0d998a5c6e99105e889c1fa103edb392c450976a8a2131306a7a26fac6005bc | C/C++ | 6,656 | 115 | /*msGeneralStats.h -- contains general analysis of Hudson format output */
#ifndef MSGS_INC
#define MSGS_INC
#include "stdio.h"
void imatrix_free(int **m, int nsam);
void cmatrix_free(char **m, int nsam);
int **imatrix(int nsam,int len);
//code from achaz
double * compute_HarmonicSums( int n );
double beta_FU1995( ... |
669e6e672d56cf5eff9c6343d4fdbf4881ae9076a16dc4b245b55cf7e831d3fd | C/C++ | 6,705 | 168 | /* -*- 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... |
8a1dcdb9558411f0e6300aa1c4d4a01f0bbf8d278460d2fecc515e983bc6be57 | C/C++ | 6,737 | 165 | /*
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... |
2dc66d3611b17dc6b8fac06a075528670cf361ac9a1ff63d9fe2af6090ebb8c9 | C/C++ | 6,880 | 164 | /*
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 ... |
6659f4ff1be483ef3d0c305f1ee29a736d2b05f1d79cc056bbbb526ede92b201 | C/C++ | 6,956 | 252 | /* mygmp.h (integer and rational arithmetic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can ... |
d33365f33c9c4e2a128ebb421edf320211220e72146ee76ecfa61612472f0c0c | C/C++ | 6,968 | 275 | /**********************************************************************************
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... |
94cac26b858b5dce2b67ca79c2058d5acd7cea41a98c4fd87c973ccbe79ed73d | C/C++ | 6,982 | 180 | #ifndef PRPACK_SOLVER
#define PRPACK_SOLVER
#include "prpack_base_graph.h"
#include "prpack_csc.h"
#include "prpack_csr.h"
#include "prpack_edge_list.h"
#include "prpack_preprocessed_ge_graph.h"
#include "prpack_preprocessed_gs_graph.h"
#include "prpack_preprocessed_scc_graph.h"
#include "prpack_preprocessed_schur_grap... |
443ede17a0fd3ff236fa17089e08694fcdffb4d5118f487fd2b29f81322eb9d6 | C/C++ | 7,001 | 202 | // 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... |
5696459e0021653af8de889b1241f0e8845889e16763bca3a79709dcc9f4b055 | C/C++ | 7,005 | 155 | /*
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... |
ef896a5be53eb276ba60e595d958f98bc9747012a53404c40e64eb2b17fc7a94 | C/C++ | 7,045 | 180 | #include <QImage>
#include <array>
#include <tuple>
#include <math.h>
#include "core/PathologyEnums.h"
inline std::tuple<float, float, float> rgb2hsv(std::tuple<float, float, float> rgb)
{
std::tuple<float, float, float> hsv;
double min = std::get<0>(rgb) < std::get<1>(rgb) ? std::get<0>(rgb) : std:... |
f275b4b7208cfe7c6978b1bbfcdc80356a6a16be4a6c3c7634353ecae1728609 | C/C++ | 7,160 | 188 | /*
*
* 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... |
b39a4bb6c4d86c904cee521838637cf7825faee1b81659f0ef1ff75a0c8b2a7d | C/C++ | 7,237 | 154 | /*
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... |
d7507126d853691c4382e9b43d90212ad4c98a6c9efba3d3c9a33f88026aaefe | C/C++ | 7,248 | 107 | /*
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... |
77c16aa1b53d2da490868e6a8361ab71a878b34856f3b7d1bdc5953f13c39920 | C/C++ | 7,272 | 205 | /*
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... |
d7dfb76b8b079a9a906d658b1c2466db0300037140484b518b27d1874aa57895 | C/C++ | 7,304 | 224 | //---------------------------------------------------------------------------
#ifndef _MultiResolutionImageWriter
#define _MultiResolutionImageWriter
#include "multiresolutionimageinterface_export.h"
#include <string>
#include <vector>
struct tiff;
typedef struct tiff TIFF;
class MultiResolutionImage;
clas... |
fbc03f189dcba1e642481486bd5b81e69d8fe3ed7791c280e08092cccdf2ded3 | C/C++ | 7,310 | 195 | /* glpmat.h (linear algebra routines) */
/***********************************************************************
* 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 redistr... |
3c9166e4fc93587e1ac2b7a4f15340954c7bede1ebf808cfa4a22bb8fc761da2 | C/C++ | 7,380 | 165 | #ifndef _MultiResolutionImage
#define _MultiResolutionImage
#include <string>
#include <memory>
#include <mutex>
#include <shared_mutex>
#include "multiresolutionimageinterface_export.h"
#include "TileCache.h"
#include "core/PathologyEnums.h"
#include "core/ImageSource.h"
#include "core/Patch.h"
class MULT... |
68386a523e2d2cb669812b63ed75ba04d9c92ea9c133753e50d7d17fee5b62a3 | C/C++ | 7,423 | 235 | /* minisat.h */
/* Modified by Andrew Makhorin <mao@gnu.org>, August 2011 */
/***********************************************************************
* MiniSat -- Copyright (c) 2005, Niklas Sorensson
* http://www.cs.chalmers.se/Cs/Research/FormalMethods/MiniSat/
*
* Permission is hereby granted, free of charge, to... |
69d05ac6b9789e581391727b4265ae6cf8aff61b015ce611d99638d4dd9ba406 | C/C++ | 7,474 | 213 | /*
*
* 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... |
88debc5c84bb064f77acbb9118a58c9a92fbc9d8cfbf167ba033ffc1be2cb1cb | C/C++ | 7,586 | 214 | /*******************************************************************************
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.
... |
8388756305a5220331b6b70b8778d888b9afab27ac551cf73e51be2b52777034 | C/C++ | 7,657 | 335 | /**********************************************************************************
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... |
9414aaa0ceddde4057242b560bb4a6036b4d28d4d80b210b65058cbc58db7321 | C/C++ | 7,664 | 197 | /*
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... |
45fd48ad7b2fd38d915f93402639b35778ad0ea3e412332dd50a3a7adbda57ca | C/C++ | 7,742 | 230 | // 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... |
37fe295fcd852db37a772dd0f63eb258ba3d0e0bfcfd913e40cf26947c4ca5a7 | C/C++ | 7,782 | 127 | //pgSummaryStats.h
#ifndef SUMSTAT_INC
#define SUMSTAT_INC
#include "miscCode/stringWrap.h"
#include "miscCode/sequenceMatrix.h"
#include "miscCode/vector.h"
#include <stdlib.h>
#include <stdio.h>
int numColumnsNotNedOutFromTo(struct sequenceMatrix *aSeqMat, int start, int end);
int numColumnsNotNedOutFromToBothMat... |
f5ca978df345bc5e0b638247b28f0c0df67f5ccaf86b51d8700bf62bbdb8f785 | C/C++ | 7,921 | 209 | /* scf.h (sparse updatable Schur-complement-based 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 fre... |
cfe7724bfa105f606ec1563a032e0ff0db532fbd1dbe345e3313479cf90f6e6e | C/C++ | 7,967 | 153 | /*
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... |
61583b89d359437ed90ddbc34a58c9e39f43d39648cd09b96ad1e154d8077db6 | C/C++ | 7,981 | 308 | /**
* 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... |
4b518e85a88b63d801695aa3d0620403fb2b922f90f1dd28dbfbcb48c424a89d | C/C++ | 7,983 | 184 | #ifndef TEST_UTILITIES_H
#define TEST_UTILITIES_H
/*
* This file declares functions that are useful when writing tests.
*/
#include <igraph.h>
#include <stdio.h>
#include <string.h>
/* Structure used by the EXPECT_WARNING macro to test whether a warning was
* triggered in a section of the code in unit tests */
ty... |
f5ca3f683cc97d96a62b4430b845e78540e6c2a2bc93b5e61ce397238dbfe3c3 | C/C++ | 7,999 | 216 | /*******************************************************************************
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.
... |
db1486828499d73b6dc195b859b02c56f3a0decf30547a89bf8d51fdb01fa29c | C/C++ | 8,013 | 307 | /*
*
* 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... |
24150cd07d5ef1a317a5e8e334040283d73a4ab283825bb2931436e45a67406e | C/C++ | 8,111 | 189 | /*<html><pre> -<a href="qh-geom_r.htm"
>-------------------------------</a><a name="TOP">-</a>
geom_r.h
header file for geometric routines
see qh-geom_r.htm and geom_r.c
Copyright (c) 1993-2020 The Geometry Center.
$Id: //main/2019/qhull/src/libqhull_r/geom_r.h#2 $$Chang... |
dfc0953b92d979b420b4a5d48415b44e3167e23a40313832a30c1c1757f9a5d6 | C/C++ | 8,228 | 271 | #ifndef _ColorDeconvolutionFilter
#define _ColorDeconvolutionFilter
#include <map>
#include <string>
#include <vector>
#include "ImageFilter.h"
#include <cmath>
template <class inType>
class ColorDeconvolutionFilter : public ImageFilter<inType, double> {
bool checkInputImageRequirements(const Patch<... |
727fbdc71130ce7d28f478be44807c5287908e12b369c9fa1d9891ab0ef2d7f0 | C/C++ | 8,316 | 201 | /* sgf.h (sparse Gaussian factorizer) */
/***********************************************************************
* 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 redistr... |
7f93a82f58b2d7d5535b913c7ca474ab0523e631410bde861224d24343278eae | C/C++ | 8,358 | 142 | #ifndef __ASAP_DATA_WORKLISTSOURCEINTERFACE__
#define __ASAP_DATA_WORKLISTSOURCEINTERFACE__
#include <functional>
#include <filesystem>
#include "DataTable.h"
namespace fs = std::filesystem;
namespace ASAP
{
/// <summary>
/// Provides a basic interface that all Worklist GUI operations are based upo... |
12f58ef3ee68a1b39d74dfe1bf019d74814e715453ecf05767867abc271fecfa | C/C++ | 8,496 | 232 | /*
igraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
26d9475af28a5458a419a4ed14d7ca14e6bce17320f33ea0c17b75aa98af4855 | C/C++ | 8,514 | 284 | #include "DIAGPathologyOpenCVBridge.h"
#include "imgproc/basicfilters/FilterBase.h"
#include "imgproc/FRST/FRST.h"
#include "imgproc/basicfilters/ColorDeconvolutionFilter.h"
#include "opencv2/imgproc/imgproc.hpp"
#include "core/Point.h"
#include "core/ProgressMonitor.h"
#include <queue>
template <typename inT... |
69ba982d9b431a3bd019c274748e77fef716288ba2d030ec551aa6f7070ded30 | C/C++ | 8,530 | 276 | /* env.h (GLPK environment) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2000-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it a... |
eb58c9f4cdfdcfde8770d94d1cf8d64b9f7eeb49fb6aca7c473361453ee482b5 | C/C++ | 8,579 | 166 | /*<html><pre> -<a href="qh-io_r.htm"
>-------------------------------</a><a name="TOP">-</a>
io_r.h
declarations of Input/Output functions
see README, libqhull_r.h and io_r.c
Copyright (c) 1993-2020 The Geometry Center.
$Id: //main/2019/qhull/src/libqhull_r/io_r.h#3 $$Ch... |
abbb882955f276a796097c895b5b055a9764ecf3ccf63ea6c78ece45795513aa | C/C++ | 8,626 | 217 | /* lux.h (LU-factorization, rational arithmetic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you ... |
1a8442e18b7e88b1d082365c70772200955ca7633b4557eab464f0c6391cb0e1 | C/C++ | 8,650 | 225 | /* luf.h (sparse 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 redistribu... |
47fb9330635e76369116135378111a0dc9a4765d1f19773a7afac68a761bfb83 | C/C++ | 8,657 | 205 | /* btf.h (sparse block triangular LU-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: y... |
e16a47976b3a72689273710ee85a6516f4e4b7ee7f0975cfbbc59500d7de8f72 | C/C++ | 8,758 | 231 | /*
*
* 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... |
de8d55b7f941bc20482965ba126c62a4f75261e264835a8b62b0d15962d329e7 | C/C++ | 8,780 | 232 | /* spxlp.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... |
857153c06fe25d23789c6883750b8bd69363b264357f761708bea9147ff9630e | C/C++ | 8,828 | 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... |
8e6591a23be6cbdc5e9d75e811a6f429a1c8222433a328685550d6c0425e641a | C/C++ | 8,945 | 301 | /*
CmdMessenger - library that provides command based messaging
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy,... |
3381d3cd5ddfa6a030803b9174574eef01a8a21efab3854d75d318909c5b4639 | C/C++ | 9,021 | 263 | #ifndef SURVIVAL_FOREST_TREE_H_
#define SURVIVAL_FOREST_TREE_H_
#include <vector>
#include <random>
#include <iostream>
#include <stdexcept>
#include "survival_forest_globals.h"
#include "survival_forest_data.h"
namespace ranger {
class Tree {
public:
Tree();
// Create from loaded forest
Tree(std::... |
5db70fc9fe62addbce0cea1162df490245d6244b5f606ec7a3627355902ade2b | C/C++ | 9,119 | 302 | /*
* 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... |
356fcc0108437847fa10f83cef0c520d1c521ec84dacd2e7f6f4e7ad928ea517 | C/C++ | 9,142 | 235 | /*<html><pre> -<a href="qh-mem_r.htm"
>-------------------------------</a><a name="TOP">-</a>
mem_r.h
prototypes for memory management functions
see qh-mem_r.htm, mem_r.c and qset_r.h
for error handling, writes message and calls
qh_errexit(qhT *qh, qhmem_ERRmem, NULL... |
f19c4a72c488317f27d31554745a62e158b82f6b4197b3459fa97cc8606c2857 | C/C++ | 9,410 | 386 |
/*
* 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... |
375feb3c7b6c73f3fabc11b29fc836deca5f7e1445d727f6ab1deb5f21000626 | C/C++ | 9,453 | 268 | /*******************************************************************************
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.
... |
bd00157bfc7a3c512855fecab5d1e9cd242ea4423248b32d222b744f8a093a22 | C/C++ | 9,475 | 173 | /*
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... |
db63172c780c5a4bf61ba816c41e996576e6ab888901601b2b4efb2dfc355c6c | C/C++ | 9,497 | 220 | /*
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... |
f263a7d219f90b481e15e72052a1865196d9f4ea3bac900a5c866b9bf630946b | C/C++ | 9,525 | 315 | /*
*
* 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... |
18099785ce948c0d88b8b3f4d8e463cd6a00b8456efc6405b112b497e53b0fac | C/C++ | 9,768 | 369 | /*******************************************************************************
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.
... |
5f232898bfec074e482a36b19b829d7a44947c844c70fd0dc6228221f213789f | C/C++ | 9,925 | 265 | /*
igraph library.
Copyright (C) 2024-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... |
99773702ba89cb3bb6791a607c5dae5ef6cbf0e3fcad9d4bf09f0d22958eda6e | C/C++ | 9,941 | 314 | /**********************************************************************************
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... |
c59d27e97772dbac970c71589aef23c924ab7a11b2de16c3c3fd921f2e67ecd8 | C/C++ | 10,605 | 356 | // 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... |
8776786cb2818677d400f042542cd9c1c132fb5060a260937358cf87936d77fa | C/C++ | 10,622 | 278 | /*
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... |
1f82084e5fd8b54fdc4af15b854abffe8060b44ba544b975b167616aab754e44 | C/C++ | 10,802 | 341 | /*******************************************************************************
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.
... |
f0dc8a93f3b73ae01279958f794f1b7c426032347190fe7b158b3d8360fbeebc | C/C++ | 11,074 | 347 | // MersenneTwister.h
// Mersenne Twister random number generator -- a C++ class MTRand
// Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
// Richard J. Wagner v0.8 24 March 2002 rjwagner@writeme.com
// The Mersenne Twister is an algorithm for generating random numbers. It
// was designed with ... |
8ff27c84b38ac3170495b3b1c2f0af4af29e9ecfdec246a2f8865261c0364802 | C/C++ | 11,141 | 309 | #ifndef SURVIVAL_FOREST_H_
#define SURVIVAL_FOREST_H_
#include <vector>
#include <iostream>
#include <random>
#include <ctime>
#include <memory>
#ifndef OLD_WIN_R_BUILD
#include <thread>
#include <chrono>
#include <mutex>
#include <condition_variable>
#endif
#include "survival_forest_globals.h"
#include "survival_for... |
d84f4472cedfdf1ad0b16f1635a4accb90301b531925af91a10aa2f96932b689 | C/C++ | 11,155 | 295 | /*
* BSD 3-Clause License
*
* Copyright (c) 2016-2021, UniFrac development team.
* All rights reserved.
*
* See LICENSE file for more details
*/
#ifndef __UNIFRAC_TASK_H
#define __UNIFRAC_TASK_H 1
#include "stripemap.h"
// CPUs don't need such a big alignment
#define UNIFRAC_BLOCK 16
namespace su {
/* task ... |
d47f0acc990cd78851730dd9eba14b5eb1bfd1d600afaa834fc13a9c52aca0ad | C/C++ | 11,159 | 284 | /* prob.h (LP/MIP problem object) */
/***********************************************************************
* 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 redistribut... |
62c7b2f0865d7e67ff9353546cf314c60842679c21fb9daa88aa0d81a9db72e4 | C/C++ | 11,189 | 207 | /*
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... |
9b203d0b1692a9f6d73eb55fade1135ed2f9d072f13d69066fd9d601cf17a445 | C/C++ | 11,231 | 346 | /**********************************************************************************
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... |
b75c80465631a92baac454e959cf8d2fc3fbc15b427ae3c5cce9126d1486b3d0 | C/C++ | 11,572 | 296 | /* -*- 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... |
dc774bef3f9bc77c654743fb1a4691874496335248874872c775f06e31d9cb43 | C/C++ | 11,824 | 311 | /* mini-gmp, a minimalistic implementation of a GNU GMP subset.
Copyright 2011-2015, 2017, 2019-2021 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 either:
* the GNU Lesser General Public Lice... |
5d41102e998705587203f6c05b21d6d4e127b3c516245c49362facb4a7231b7b | C/C++ | 12,155 | 238 | /*<html><pre> -<a href="qh-merge_r.htm"
>-------------------------------</a><a name="TOP">-</a>
merge_r.h
header file for merge_r.c
see qh-merge_r.htm and merge_r.c
Copyright (c) 1993-2020 C.B. Barber.
$Id: //main/2019/qhull/src/libqhull_r/merge_r.h#2 $$Change: 2953 $
... |
fdcba3b7158cb386206481813cbc0ddb49029ef92eb56cc2d0ea5b59b1e5be4f | C/C++ | 12,315 | 310 | /*<html><pre> -<a href="qh-poly_r.htm"
>-------------------------------</a><a name="TOP">-</a>
poly_r.h
header file for poly_r.c and poly2_r.c
see qh-poly_r.htm, libqhull_r.h and poly_r.c
Copyright (c) 1993-2020 The Geometry Center.
$Id: //main/2019/qhull/src/libqhull_r/... |
df36a3af2a26b8b3e560f7efa470071fbfda91df43dad89c8bcfb4d8b5b7f1f9 | C/C++ | 12,819 | 494 | /**********************************************************************************
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.