sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
d0719aef2d812110ac1e69820f2f8c3a58afa536b8a5df6c82cf3015dbeef95f
C/C++
2,972
65
/* * 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...
33d3a83ab4219687aa29955a50ad9e3bd50a418d408a0d1863e857a2c4482ac4
C/C++
2,976
65
/* * 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...
7d79736b7bbc9e77286784534857ce75023b6bec5d93c75b63cdc23efb5177ae
C/C++
2,995
91
/* igraph library. Copyright (C) 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 your o...
9de8d71695765c0f0d4fa0ff88f73625bc3dfad252961be54ebe6e7af379041a
C/C++
3,002
87
/* scfint.h (interface to 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 free...
16b12f6e2c74055314d88ee80d00ab39ef3b1d23ceaae56787fb36809b0f2e09
C/C++
3,062
95
/* 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...
333023bce56c52c4030c84f213fdf5e82aaf437121df18d97cc7679f7644e1a2
C/C++
3,069
77
/* igraph library. Copyright (C) 2020-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...
98de42aa60f49ca6716411e49b0248eb64b78f7e86c7ed685ae8b4dab493a7eb
C/C++
3,078
63
#ifndef __ASAP_DATA_GRANDCHALLENGESOURCE__ #define __ASAP_DATA_GRANDCHALLENGESOURCE__ #include <functional> #include <string> #include <unordered_map> #include <vector> #include "DataTable.h" #include "WorklistSourceInterface.h" #include "../Networking/DjangoConnection.h" #include "../Misc/TemporaryDirecto...
9aa0239c46c1d58121fc6b260d48180202df1e30db5c91afb3bd2422a98b45db
C/C++
3,087
92
/* 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 ...
41f81bda0aab01f5ca01b8932312eeb7b5b773ca7072ea2b52dee25a7d98f2a6
C/C++
3,115
130
/********************************************************************************** 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...
dd9c7aaa1b5d8ceba89668208fa6527e3b5c234e05641f25de963888df5eddaa
C/C++
3,139
113
/******************************************************************************* 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. ...
ae64e1aed97803853285cd48d2b70d978106129f0c0c7d2016448becc5983c05
C/C++
3,143
98
// 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...
1d3d973ca61771c91bc2e8bfafaa6b562cd0ea786edcf9e12734ea40b9354f2e
C/C++
3,167
98
// 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...
48b3a18eeee06786a5538cc641dc9ebea13eaffe46196ae83961d6a4a929845c
C/C++
3,175
116
/* amd_internal.h */ /* Written by Andrew Makhorin <mao@gnu.org>. */ #ifndef AMD_INTERNAL_H #define AMD_INTERNAL_H /* AMD will be exceedingly slow when running in debug mode. */ #ifndef NDEBUG #define NDEBUG #endif #include "amd.h" #include "env.h" #define Int int #define ID "%d" #define Int_MAX INT_MAX #if 0 /* ...
cacf88308b0c77b61152e21446f6d3585b9eb888f2b2163f643ad1d84b967c9e
C/C++
3,176
88
#ifndef _LIFImage #define _LIFImage #include <vector> #include "MultiResolutionImage.h" #include "multiresolutionimageinterface_export.h" namespace pugi { class xml_document; class xpath_node; } class MULTIRESOLUTIONIMAGEINTERFACE_EXPORT LIFImage : public MultiResolutionImage { public: LIFImage...
90b8dce88330245707e2ff52c18e8a93e9e53a4bcc3193994b007ed6b5e74351
C/C++
3,179
62
/* 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...
f7fe21e402b7b61a142051f3c738eb9a0497bfc37900ac00db41f7dae711d723
C/C++
3,197
74
/* igraph library. Copyright (C) 2010-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 ...
cc0e207bd11f3fa706bd6b5c59dcf8d1a9b82428397e1443d6f3301c46c8c835
C/C++
3,219
112
/* SPDX-License-Identifier: BSD-3-Clause */ /* Copyright (c) 2020-2026, Christian Gaser. See LICENSE. */ /* * Threaded batch driver for the TFCE max-tree: many maps at once, one map per * thread. * * This used to live inside tfceMex_maxtree_batch.c, which meant it could only be * reached from MATLAB. It is plain C...
3c9a26a71fe90d65f10be0976a17793c6499cb8ebc07227084276980ce8b69e3
C/C++
3,233
93
/*Copyright (c) 2018 Miguel Monteiro, Andrew Adams, Jongmin Baek, Abe Davis 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 ...
6410f966527f0926051335bb45452ae222ef5438f0acad0e3ffdb711f06945a0
C/C++
3,240
104
/* bfd.h (LP basis factorization driver) */ /*********************************************************************** * 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 software: you can redi...
9318159f4a712bc2a645daeed86b1623bfb0a52e29358a8921f0f36519ebcf3d
C/C++
3,247
63
#ifndef __ASAP_DATA_SOURCEPROXY__ #define __ASAP_DATA_SOURCEPROXY__ #include <memory> #include <string> #include <unordered_map> #include <deque> #include "WorklistSourceInterface.h" #include "../Misc/TemporaryDirectoryTracker.h" namespace ASAP { class SourceProxy : public WorklistSourceInterface { ...
fd6b949384b57380994fe086a3f28bf341176709a2f01596dbc3d57ddd8a3d7e
C/C++
3,251
76
/* igraph library. Copyright (C) 2021 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 later vers...
19a6eb79a20c688d1b6a9955740537e6627c9ae3e2961daee1a6ca672a5d6f02
C/C++
3,257
114
#ifndef SCYTHE_H #define SCYTHE_H #include <zlib.h> #include "kseq.h" /* KSEQ_INIT() cannot be called here, because we only need the types defined. Calling KSEQ_INIT() would also define functions, leading to an unused function warning with GCC. So, the basic typedefs kseq.h has are included here, and each fi...
bbab201c8b286132ccfab3d0f0ad3ff115687045b3d40c67584e0bc20e7c7f05
C/C++
3,287
122
#ifndef TILECACHE_H #define TILECACHE_H #include <list> #include <map> #include <string> #include <vector> template <typename T> class TileCache { public : TileCache() : _cacheMaxByteSize(0), _cacheCurrentByteSize(0), _LRU(), _cache() { } TileCache(unsigned int cacheMaxByt...
9b8633d50ce7817ed22ea2d0b9f4c93e402f75a09e046d80bd8efce12278ecf1
C/C++
3,332
101
#ifndef _NR_UTILS_H_ #define _NR_UTILS_H_ static float sqrarg; #define SQR(a) ((sqrarg=(a)) == 0.0 ? 0.0 : sqrarg*sqrarg) static double dsqrarg; #define DSQR(a) ((dsqrarg=(a)) == 0.0 ? 0.0 : dsqrarg*dsqrarg) static double dmaxarg1,dmaxarg2; #define DMAX(a,b) (dmaxarg1=(a),dmaxarg2=(b),(dmaxarg1) > (dmaxarg2) ?\ ...
0202391a7fbdeb0c89c9328b1d36b196aff2f528dded77ab564f874b7517e67f
C/C++
3,333
77
/* SPDX-License-Identifier: BSD-3-Clause */ /* Copyright (c) 2020-2026, Christian Gaser. See LICENSE. */ /* * Keep a Linux binary loadable on an older glibc than the one it was built on. * * An ELF shared object records, for every symbol it imports, the glibc symbol * version it was linked against, and the dynamic ...
91fe20fc06090e3b12ef6a0d00f43649e1d5a8b584a383a10a9cc0f731fe1b09
C/C++
3,373
95
/* spychuzr.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 * ...
3b2e4e107194c43cef30c30502c796657e6332877631142b58b72618d88e746f
C/C++
3,379
94
/* spxnt.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...
80f28ba8d715614f009f80627da95e6065d8acd636667d396788dd202bcb42f9
C/C++
3,416
87
/* igraph library. Copyright (C) 2016-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...
b7f030d5652e7f13e8f7ca9051e3000ae14c6ab044164256c21b9a91553821b9
C/C++
3,438
67
/* 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...
54efa269efde0d56cc4a00b2d783e40e4f18f828f4422a653e9b6ea4d62f69e2
C/C++
3,439
100
/* 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...
16ad7be95ea785cf0bf6e2f580e79a603d15512237261dc98ca9390d339e2d28
C/C++
3,452
74
/* 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...
52c50fba60d68ec9315890c588a1c08986b0890c98baa20a7531fa0c8406c049
C/C++
3,471
153
/******************************************************************************* 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. ...
3498611fbabc944e8c1c963f77f1d1a7f6e4af4f4ae7f618c1513ea2f192e763
C/C++
3,483
102
#ifndef ANNOTATIONWORKSTATIONEXTENSIONPLUGIN_H #define ANNOTATIONWORKSTATIONEXTENSIONPLUGIN_H #include "interfaces/interfaces.h" #include "annotationplugin_export.h" #include <memory> #include <QString> #include <QMap> class AnnotationService; class QtAnnotation; class QtAnnotationGroup; class QDockWidget...
de08a6812908a7ee931ab4397d5d8e6cbdfcbb77c5897b694cadfc4bf4bc5526
C/C++
3,489
107
// 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...
3abcc309d3af4cedf9b8faeb7e699e800d3a2df56d94e0be8cc8d6f3c4197948
C/C++
3,493
106
// 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...
ba54cdcb767efe0f3a8788dd0f1e112b2c819cc069f9e8c744bff5588dc1cf94
C/C++
3,557
77
/* 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...
e99b6322500f75beae5f80752d6f250d775f241652958434ff582136fc0779a5
C/C++
3,621
97
/* ifu.h (dense updatable IFU-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 ...
55e58e831ad04904e6407878edb91bf5de499c684bc1ff45c07b78d08117c416
C/C++
3,622
124
/** * 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...
759d26991befad7ff4d25297ef97032ba542b5b1868cdca421962cb84a045be8
C/C++
3,668
103
#ifndef __ASAP_GUI_WORKLISTDATAACQUISITIONINTERFACE__ #define __ASAP_GUI_WORKLISTDATAACQUISITIONINTERFACE__ #include <deque> #include <mutex> #include <unordered_map> #include <QDropEvent> #include <QtWidgets/QMainWindow> #include <QStandardItemModel> #include <QFutureWatcher> #include <QSettings> #includ...
59ddd1c8b4a2829e12bb5083cc867ba35cd3808d9fb06c909c632cc1c90f10ca
C/C++
3,674
106
/* 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...
16d927fbbd4f4ad9d0a277381db2141666bface2ef48f4758aa29505b0b8ec55
C/C++
3,754
132
#ifndef INTERFACES_H #define INTERFACES_H #include <QtPlugin> #include <QMouseEvent> #include <QIcon> #include <QWidget> #include <QMutex> #include <QAction> #include <memory> #include <vector> #include <string> #include "core/Patch.h" #include "imgproc/basicfilters/FilterBase.h" #include "ASAP/Patho...
10588b3591c38cebe2560470cf398825c666a3f7ea6ced7550e79b1ddcf8b3ad
C/C++
3,800
118
// 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...
c65a2915b8de188e5caedab071e931c072f395f81596264739752a4bb480911d
C/C++
3,839
111
/** * 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...
b367c621a9ad8d9f33dd8fcebcdf437b2087b158c37634ee979cea354fb07829
C/C++
3,872
73
/* 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...
60c64802380b214cece8383392fbf15143c34d00068dc628ad76ad12c4ce1fb3
C/C++
3,925
276
#ifdef __JETBRAINS_IDE__ #include "math.h" #define __CUDACC__ 1 #define __host__ #define __device__ #define __global__ #define __noinline__ #define __forceinline__ #define __shared__ #define __constant__ #define __managed__ #define __restrict__ // CUDA Synchronization inline void __syncthreads() {}; inline void __threa...
477f527f147bd0dc75465ee6307fd9d82a08dc3745082525c6aeec1c2d8f4d99
C/C++
3,934
119
/* igraph library. Copyright (C) 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 your o...
202d1f5b4ea963b558678857ec29c42c3a68ac39f86d29beaa4131caf010d7b0
C/C++
3,952
99
// 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...
5ea4ec2e4d676c279f2a2fd51f41748d6e7eaa9aa5b1ad19289980f00e334376
C/C++
3,953
102
/* SPDX-License-Identifier: BSD-3-Clause */ /* Copyright (c) 2020-2026, Christian Gaser. See LICENSE. */ /* * Flat C API for the exact TFCE max-tree. * * The transform itself is plain C and always was; what tied it to MATLAB was the * mexFunction glue wrapped around it. This header exposes it as an ordinary C * li...
881a607fd87343436bff88d4f3399baaddd4ab4c1f0ae27228b8387bbbc08bf1
C/C++
3,965
103
/* 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...
988a29e0681a51ec4ecbaa19c8a53d0ee5f97a641d4fba72f2d344eb98d0f883
C/C++
3,970
137
/* 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 ...
4723476e14ffbfc51fd97f6a5432c4052cf2202f5b0798b609633dd0e2fa4c76
C/C++
3,979
152
/********************************************************************************** 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...
975666a183d9281776d7794366f0d515045cb3d2d5023f218bd895e4e73690d0
C/C++
3,988
95
/* 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...
998e40e1534632e1605778be5fe0cd2ebcef26e13369b1b2d961f0a8f738cafb
C/C++
4,000
87
/* igraph library. Copyright (C) 2007-2022 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...
949f1a12f2581f48b574d653f1d2f06b8448e89ee52cffe9942d1c2c44ef81f7
C/C++
4,001
100
/* relax4.h */ /*********************************************************************** * 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 and/or modify it ...
10cec0b4cbc0546386e6c2edc3a1865b749d3bedf7fe73ea47fa58ac136a94a9
C/C++
4,013
98
/* 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...
2cdf4508dab3ce441984c737bd8a2eba4ba4a30a4907c2cd897d8aef5b3a494a
C/C++
4,051
137
// 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...
3c01e45ad77b5e5d1c53e3cf9c818680883dc5c26720686a33d95bcb2cbb05cc
C/C++
4,110
97
// Copyright (c) 2023 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...
dd75d9e8a37817717c726bc2d96313ad2df3a65da964f92d5a1d0de9efaef274
C/C++
4,145
169
/** * 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...
20df6e56b0d1003164b89224a0bc934d79d29f3e17c2477f19a6dca41d6e79bb
C/C++
4,150
142
// 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...
3445ef3f7a448afcf15eb956ecc3f17427eda195c111d19ed378981ede52c7f6
C/C++
4,182
134
// 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...
3acb10f5c5e7e2339df9f935e36d145918939578f5931902a2640a38a431745f
C/C++
4,215
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. ...
9a9a11b1f197cd1c325bb95bf3977009b49231b6f3dc60d7e3ecb2ca4bba6da7
C/C++
4,216
144
#ifndef PATHOLOGYVIEWER_H #define PATHOLOGYVIEWER_H #include "asaplib_export.h" #include <QGraphicsView> #include <vector> #include <memory> class MultiResolutionImage; class IOThread; class PrefetchThread; class ToolPluginInterface; class MiniMap; class WSITileGraphicsItemCache; class TileManager; class...
c23c8589c6101a07c00530482ff3cbddf34c297702b9a93d8cfa2baa3a5f2c31
C/C++
4,243
140
/* * BSD 3-Clause License * * Copyright (c) 2016-2021, UniFrac development team. * All rights reserved. * * See LICENSE file for more details */ #ifndef __FAITH_TREE_H #define __FAITH_TREE_H 1 #include <string> #include <sstream> #include <iostream> #include <vector> #include <unordered_set> #include <Rcpp.h> names...
84da3bb15daea0b681c78a8b5c1622dcf1105898f7bbfa2da8ef9f44396e32ce
C/C++
4,250
119
/* 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...
4435dccb06edf9b92c9885514e6e3fefa3deee678b2f8966dd5ad8d564680c51
C/C++
4,272
112
/* fhv.h (sparse updatable FHV-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...
76555a2d5a52e2d49468800e793ab05ab7fc581cdae2fa59bc8c42e3751987c1
C/C++
4,348
131
// 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...
0537c45ba9f6812830367f9c0df69e9c85ed35fab502a976ef40936850dec685
C/C++
4,353
138
// 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...
7f3e3b0db0dc2be656f4227c68fe2d8f425fdc79c996d9f34f7d290d006ca92d
C/C++
4,421
126
// 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...
725b19910b33289c2f97a04befe718fea7bf5f51a007ce537692e0eff482422b
C/C++
4,470
125
/*Copyright (c) 2018 Miguel Monteiro, Andrew Adams, Jongmin Baek, Abe Davis 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 ...
219e553b86a16d1fa497f27ba045570b25c44cdfafd9baba2996c751a3e28bb5
C/C++
4,485
124
/* hbm.h (Harwell-Boeing sparse matrix format) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2004-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you ca...
d1a101e4b0749d546b889676c7c03ac21a86a6a0b166910db47dc825fddc748f
C/C++
4,515
124
// 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...
fc780f0b51e98d79c20d77e87d5f79ba71ca884740bf03e069ea2f3f536bed0b
C/C++
4,530
116
/* igraph library. Copyright (C) 2021-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...
c49c9c58362c2c7ce7e9d817895409168f9c62fceaaec2d5acf5812ebce469d5
C/C++
4,541
195
/* * * 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...
73291e1504abda3518a2c34c159f1c4a73efc23451b64dc0fa4c356210f332a9
C/C++
4,617
178
/********************************************************************************** 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...
31d15749cf38722061191e202248c9016264a6b26b0f23e200bae8792c65693a
C/C++
4,621
100
/* 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...
ddb367a3d1b8c5c561554954a4faff3c9cbba97e6638ba299674c58927de0f0e
C/C++
4,658
183
/** * 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...
220489f6be736426662520803a969f218521d027cb35a93a446ea7b4883c89b4
C/C++
4,668
124
/* * 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...
6e30113ac2b61b9d225d82aa859eaad6820dfa5cec7e952cc9a4b092aed1f843
C/C++
4,684
171
// 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...
adb9588cae4f60c1bf9d22f7bfdd759a32d3b5f8f5dd5d9f0879d56fdc34c51c
C/C++
4,684
107
/* 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...
de397ced733163f05d9b6efa1f60a969416d8df6490ef01ab4115ec3ee0e1021
C/C++
4,695
134
// 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...
604bacec9d422245024f5ca78d9003b507bf2a473b18cac790c4bd3758cadd9b
C/C++
4,708
123
/* 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...
01c24d0fd3d303bce080d946b913929caa54cae3e44cf7b121f14d28fbd3f526
C/C++
4,741
126
/* 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...
d56719f21122711f4a5ab325083309d423eb900cc78e0289bd31b59556bfb37b
C/C++
4,783
122
/* 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...
b216d8e10a3a7822d8c49c4ebf758679e5918d82b84afd8f1945f99f57f043a7
C/C++
4,789
178
#ifndef __DIAG_STRINGCONVERSION_H__ #define __DIAG_STRINGCONVERSION_H__ #include "core_export.h" #include <string> #include <sstream> #include <typeinfo> #include <iomanip> #include <vector> namespace core { void CORE_EXPORT replaceAll(std::string& s, const std::string& item, const std::string& replaceme...
c79ae987d16c016edddb753dc50e7cd3875c5c9551fc8d89840bd73d6fd017ea
C/C++
4,837
112
/* 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...
1c91b76c128ecfdb63eee9a0631647a6a569e9145e05d3215d2deb8c6b1cf592
C/C++
4,842
136
/* cfg.h (conflict graph) */ /*********************************************************************** * 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 and...
a8d9bf2ead34c8fc6b708a2663f3e862c1b420996b86a1879c59550b0e1603de
C/C++
4,845
112
/* 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...
58ea58f683d2e23e23e41df7ffc18c33c2c5139624a58bc8198b3411b13d3f77
C/C++
4,890
135
/* * 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 ...
ed2a216413c05e4113663a8eba8d6401c53449b67c6fa0a91072e4d040284497
C/C++
4,890
135
/* * 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 ...
8b24b49e5a9875ba85f418a04094612b6623251390874e798e9d6ac36e662585
C/C++
4,896
142
// 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...
0385283bb8892bae018af050095c659270888158709dd33b72ddaaca8a89c199
C/C++
4,948
162
/* spm.h (general sparse matrices) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2004-2018 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribu...
675fc91e08362965eb59780208a4718df7d238b53acc2ab669dfc8a7a5792bfa
C/C++
4,956
132
/* plfit.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. * * This ...
61b74f4bea09166b569ceab4c5e25181b32cf6fa8846420614bb7b03a96d4b29
C/C++
4,970
165
/********************************************************************************** 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...
f8ce28057491ccaea802c1647566a05fbf031af589988f317343fb2040db6d76
C/C++
4,979
200
/********************************************************************************** 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...
ce209e1ea6e76d3c947c99ec23e38cb4135d04d2d3995dcc5d132ea709e71552
C/C++
5,012
132
/* * 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...
ceb7db1aa43c3845d1b272ddb81d7c857080ff3eff297d2bf4eff1cb5dba6355
C/C++
5,018
135
/* * 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 ...
d22a9ba1326e740a3eed0acd2c7e23bced724b6f95fd4f67979289c7ae527123
C/C++
5,097
188
// 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...
09f40442e5d56ac63f843dddac32b579b00761b7bc952ab5f653989c3d8dbe51
C/C++
5,102
142
/* 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...
330947eea2e58fff8f2689f522cf9f9794d376b963e876aac2318b909f6cbf97
C/C++
5,131
142
/* -*- 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...
d32bf4faa27d8ea22bdbe31f0bd90ba6e7b3b55651309563824ac118005afd4b
C/C++
5,131
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...