sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
c062bd556a5a36057fc015d679010dfe20185359e384c3d7c9b0018c3b595fcd | C | 6,147 | 144 | /*
igraph library.
Copyright (C) 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 your o... |
c5658bc0e0ad961a4a6d10c48e82d444fa402ab14a1ab58890346d12efa67260 | C | 6,177 | 164 | /*
igraph library.
Copyright (C) 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 your o... |
3521d51530631f600557f98b063aa6f20f5b41860ef45092c9188d4e07f462e4 | C | 6,185 | 193 | /*
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... |
0b0caf6294465bbd57f49fa9f673cd15372f530da36f843ba1a442747338ac8e | C | 6,204 | 167 | /* rgr.c (raster graphics) */
/***********************************************************************
* 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 redistribute it an... |
a4dfd2f1d847fc7ff5e9b97f1c99278d1b90532d9b17b00c80ec012e6f72eba4 | C | 6,204 | 246 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
217437cc8f0a9c56cf92e7e839897de4e75acb3c1eacf3910ac1f3d51d3e2421 | C | 6,233 | 183 | /* cpp.c (solve critical path problem) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2010-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redist... |
660e15d494a34f372c0b5240df3a52d8ce37ea39466685d1ddb53cdada68db74 | C | 6,246 | 227 | /* rng.c (pseudo-random number generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* This code is a modified version of the module GB_FLIP, a portable
* pseudo-random number generator. The original version of GB_FLIP is
*... |
385f74b5cebf41ddc44fce3201c10f2d14ef9a44e5ccb8f33c4754f9b13e9f08 | C | 6,247 | 235 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
3cb9c3f7f674a19a45695271f2b31d4f492052dd66a3bfb1f8af7af04832cd93 | C | 6,247 | 164 | /*
igraph library.
Copyright (C) 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 your o... |
8e9a139a8a64120bae2355d0e652e0d2f6861918223c6ca0373bfbec0f4d0788 | C | 6,269 | 195 | /* 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 opti... |
7c571899c7befdb304fca682982694ff949bec22db96e0b262e7c85aa4f5c495 | C | 6,270 | 183 | /*
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 ... |
953833db9ba9364a930b3dbde5d8651e855997de8f701038c44310a017bbfb8c | C | 6,279 | 190 | /*
igraph library.
Copyright (C) 2003-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... |
da2f5c429bc7ba4bb7ac05d29c287e9b46ea8308fb17cf52a4df5b6071c12729 | C | 6,283 | 161 | /*
igraph library.
Copyright (C) 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 later vers... |
8622f85b4f1dceb7991367c640d9e0ffe48bdbfbbc852587bd0892ea97d18e3c | C | 6,294 | 210 | /*
igraph library.
Copyright (C) 2010-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, 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 vers... |
581be7fc48bf3b9b6da98efc0f5c8f4e984b05f198766f44344a4f7db3b0b170 | C | 6,295 | 161 | /*
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 ... |
21b1eb4a030a8633e76b903b638c3ed078657bef2a1305a12a14bac86e052728 | C | 6,308 | 201 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
cf2eaf26e8f397fad67b00f57dde7ad1a08a925dde3901ffaf385cf85d0d01b2 | C | 6,311 | 159 | /*
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... |
44162299c746228cf22d83570a9177a0f143a09de7e85e8c7420c5be269cace3 | C | 6,323 | 243 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
324db619ebd0ea9d4219d4675fbddbcbaced33dbebec4818a06b85d48e44bd18 | C | 6,328 | 220 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
6f729441dee30c8982b3b68915d962ee3e057015e663e706bdc97140bd06d306 | C | 6,355 | 221 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
fe476b7cef116730cce50644065f9c9c02a5ea9fdfca62b4079b38af3a3316ce | C | 6,360 | 237 | /*
util.c - utility functions for scythe.
*/
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <zlib.h>
#include "kseq.h"
#include "scythe.h"
__KSEQ_BASIC(static, gzFile)
__KS_GETC(gzread, BUFFER_SIZE)
__KS_GETUNTIL(gzread, BUFFER_SIZE)
__KSEQ_READ(static)
... |
ed94d0a795a44e1cf09f8599450364b8d365753025e63dc341c6986dbe27aab0 | C | 6,362 | 288 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
60d44a3bedeae365d17a54fd0c1e6e7b81614faeeaf3c0ccb82150e7621dc863 | C | 6,366 | 213 |
/*
igraph library.
Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, 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... |
ba435c11fdc94fb442a759bcafd79c2f19913166b45140e067649bf5c1f1697a | C | 6,375 | 181 | /*
igraph library.
Copyright (C) 2006-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 later... |
f29670d5f18c8a40afd3f64a11294e1be6bd902430a55c1006744f22401fc4c3 | C | 6,381 | 192 | /*
igraph library.
Copyright (C) 2025 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 ver... |
47709fe1897ab11dc6155b545907c6cc480d82a52d7e53c60b6482ef3da52047 | C | 6,386 | 207 | /*
igraph library.
Copyright (C) 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 your option) an... |
483757cea90a1deab60ba2cad77fd6a8220fce74b5ec6f8223a4a7541819626c | C | 6,439 | 199 | /*
igraph library.
Copyright (C) 2006-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... |
d3fb7debad8080e6d8e4916b928ff23b7eb088ca305aa727df8525b34f8504c9 | C | 6,441 | 233 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
4c93290f78208a1684ea0c5c42794b0809de95c62e60221e64ed57b10d51ce41 | C | 6,442 | 146 | /*
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... |
f61176d09c032948342642383f560e66e71c60cfe5e2efa13cb329bd15f0e4be | C | 6,450 | 293 | #include "sysdep1.h" /* here to get stat64 on some badly designed Linux systems */
#include "f2c.h"
#ifdef KR_headers
#define Const /*nothing*/
extern char *malloc();
#else
#define Const const
#undef abs
#undef min
#undef max
#include "stdlib.h"
#endif
#include "fio.h"
#include "fmt.h" /* for struct syl */
/* Compile ... |
37a602c60e3c7eda3fe5d8f22d2e82b796d1ecfe6de9279f231c9fa4decb7c3d | C | 6,466 | 214 | /*
igraph library.
Copyright (C) 2006-2013 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... |
035a135421c3fdcb2975de3252502c9074f2a26a60c4e7be448db858faa4184e | C | 6,478 | 200 | /* ========================================================================= */
/* === AMD_order =========================================================== */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
937e6474ba339d6ed3955cba2ca61b297967526ebc72059b01fdb8deb902db51 | C | 6,479 | 169 | /*
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... |
60a3ebedb502963c2b92a9918df9ae0aed3ff4fca461f82ab60c402a8aeeda39 | C | 6,501 | 219 | /*
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... |
c9b50d5fec0b319d765cbc1a4b3f4b219d10d6c73686f33a4ff667d5b57800e0 | C | 6,508 | 201 | /*
igraph library.
Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, 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 vers... |
168c145ab44dfb475cb52deec5fcefe37f2f3e5b02ca21fe6aa872123f6287f2 | C | 6,517 | 137 | /*
igraph library.
Copyright (C) 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 your o... |
672ee329a5b458d6c044c7897289db9f30ce97de4ea02c42685c357514e8e84d | C | 6,521 | 204 | /*
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... |
6f83acbd27d9a33393ab6874afc14f0c80dd1d812d09cc39a9a1d700edf341be | C | 6,524 | 88 | /*
* filename: draw_graphs.c
* this code is to plot results of the simulation onto the graphs on the X window system
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Funahashi <funa@bio.keio.ac.jp>
* Last modified: Thu, 25 Jul 2013 02:37:32 +0900
*/
#include "mtsim.h"
/* void draw_graphs(int i, mtG... |
6d4b13ec0912125ffd46eeb0225c9a01a3e5acc7fa4b699361b0eb506ef6e9b6 | C | 6,537 | 178 | /*
igraph library.
Copyright (C) 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 your o... |
d4a994954d91e67b462cfb3940f74a649d3a294ce26bc4672424349d48960b28 | C | 6,546 | 215 | /* 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 opti... |
864b98595f809abf62eba34b3e3d6cf940fdd9928a14c406c3037d7b885175ed | C | 6,566 | 198 | /*
igraph library.
Copyright (C) 2010-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, 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 vers... |
3c4cbcb57faca757012dd401d71263bd016975d4c95004a86fe99985e0d133b5 | C | 6,577 | 199 | /*
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 ... |
89f659e20d088613ab1ec2a72dae4aa678768bf4d1937207156859ec15870670 | C | 6,595 | 249 | /*<html><pre> -<a href="index_r.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
random_r.c and utilities
Park & Miller's minimimal standard random number generator
argc/argv conversion
Used by rbox. Do not use 'qh'
*/
#include "libqhull_r.h"
#includ... |
554021e4a929b2a56b734b45d656f1bef82556b6924bd56a828bf1ba77c9878d | C | 6,598 | 186 | /*
igraph library.
Copyright (C) 2003-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... |
cee05f49a77aa8a3d6c3e1945e66920e7c7bf9e4be2e7a9a41fdecab199f0458 | C | 6,606 | 222 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
ad91dd9ab1e71528a72971919429e6ea470168e09e7c6cb1e1ca57328e69e21f | C | 6,621 | 249 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
94112d7d3cb2bde96d5b4e4976ef9ef3638243a920e112f5ab169c0da9d15730 | C | 6,628 | 180 | /*
igraph library.
Copyright (C) 2003-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... |
5f8b574cc8c86a9c506c1802a862e2c68669e6f11fbb85d5e198d66662c296f6 | C | 6,662 | 184 | /* 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 opti... |
3cc43db7c13f2bf94f009f45780f3455e554d1cfee498649aa7debf2bdf70ddc | C | 6,663 | 183 | /* rdipt.c (read interior-point solution in GLPK format) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2010-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free softwa... |
8cb41215a968cea55f5840d8a1a2cb7efb72a2ef09150ba3b448f3dff349c893 | C | 6,670 | 206 | /* 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 opti... |
73a557fa03b3e78cf052bd3cc75b6bc1410cef497a90619b8d99fec9fb65dcee | C | 6,679 | 219 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
6ff48747f6dccde6248f2af02ad0e46c4ac20608094bde84dfbff9c4e402263b | C | 6,691 | 181 | /* ========================================================================= */
/* === AMD_1 =============================================================== */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
76a9fa8001657920216b90b1a015c98b122ed4bac5a181627e732c263bebb4ad | C | 6,730 | 224 | /*
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... |
9d3ec26f2090b3af344b4252f6b014231e688b0e370c4d125ad56523c6234a25 | C | 6,771 | 186 | /*
igraph library.
Copyright (C) 2022 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,... |
65b03d97dc84cdf8a34482d22bad3eb5d60cfb944c67f78c9e4f0cd1fa15a6cc | C | 6,776 | 208 | /* 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 opti... |
3554066c7dba98ba655bbe33102b531b71231857277eae88eee21f649e9efa4f | C | 6,808 | 175 | /*
igraph library.
Copyright (C) 2025 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 ver... |
b1442fc5c717cef8c2b59453163b8fb77b39912550f13f9aa81a1497f1c70c4b | C | 6,837 | 255 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
d06b52c59b96db804c02d0baf3f6099042cdf52bb7e46c7984cbedcdee40e944 | C | 6,865 | 254 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
e8ed11a746bf336caa40f3561e109258ac985e2ae864bd5fc487f5e4121e681b | C | 6,897 | 168 | /*
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... |
addb1bc4ec1aa677a210ccffba22ee1b600fedb6b91d499a36493e7be7dccc2e | C | 6,922 | 190 | /*
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... |
745bb2748e71eb1972853aa1450f992775b0f95fdad63fc6d91c4e4233870dfd | C | 6,926 | 184 | #include <igraph.h>
#include "test_utilities.h"
static const char* bool_str(igraph_bool_t v) {
if (v == true) {
return " true";
}
else {
return "false";
}
}
/* Undirected case */
void potentially_connected_print_destroy(igraph_vector_int_t *ds) {
igraph_bool_t g_simple, g_loops, g... |
2bcf79ff157a18c0ebe5056a29994911dfa79d5d88844d962b7431c8f9ef092b | C | 6,936 | 184 | /* rdmcf.c (read min-cost flow problem data in DIMACS format) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free s... |
94fb2a7fb3b91fcacc4109d76cdcbfb9a71a89d45077ce8eae5ec7e56051c47d | C | 6,937 | 207 | /* ========================================================================= */
/* === AMD_postorder ======================================================= */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
23ddb448ed0eaa3b92804d1c662c53882a5963f5a517a0182fa91efdc6877665 | C | 6,941 | 166 | /*
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... |
a94415c77f857fcdb0c9ac3af8552eb1e5dd47331576e12dd73f5ff0d2ac598b | C | 6,968 | 208 | /*
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... |
93bcfe9c1196698113ac97881687a3d770434795807c763f10f2aeb540e1fff6 | C | 6,983 | 257 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
04bcc77e7925bb1229f186331f6a557fda458dce05cc3ff424712989e6db6906 | C | 6,988 | 170 | /*
igraph library.
Copyright (C) 2003-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... |
202592bbe9a3af6b7b9e9a48d258babc472139d0426776bcfdcb39bb57025608 | C | 6,993 | 191 | /*
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... |
bc2cc2072c8cc65ca499ee07c72c6290d6582b8703c89154ad278d7c02d70e83 | C | 7,007 | 191 | /*
igraph library.
Copyright (C) 2023-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... |
7fb0f785d7e29ff1883cffd18bf0370856b168268b9f1f33e403c761d22168da | C | 7,012 | 169 | /* igraph library.
Copyright (C) 2010-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 your... |
bddad63b6957478e5958fe2ba5f3a5e4478eb50098850f48e515e3473ea48993 | C | 7,020 | 244 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
a2bd7ecd5b1481e090fead2e7f6008a678833685cbd25189e714e82ac81f9ea0 | C | 7,039 | 189 | /*
igraph library.
Copyright (C) 2014-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... |
685118cf9383a47ead633b53a14d5fa809c056b00b8e1accdaae06817dea78d5 | C | 7,045 | 210 | /*
igraph library.
Copyright (C) 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 your o... |
a4d6a444a6b07650c17ea37c86a1b2b3bfad266fa83f1d380a82b48247687890 | C | 7,054 | 241 | /* dmp.c (dynamic memory pool) */
/***********************************************************************
* 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 i... |
d2a4e63557d3946096b642ddce0b624252e0843b5fb31000837a31a4aa10e7aa | C | 7,101 | 246 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
1ab0736a63bd590b92af464516632143079bede21049369998defd789b607b36 | C | 7,113 | 282 | /*
igraph library.
Copyright (C) 2014 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 versi... |
76a8acc73531599e35358babc03789b567e7f71a0df55497d7192d1376874d04 | C | 7,134 | 247 | #include <stdio.h>
#include <omp.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
int computeFileSize(char *filename, int* saveWidth, int* saveHeight)
{
FILE* stream = fopen(filename, "r");
if(!stream){
printf("ERROR: %s\n",filename);
}
char line[100000];
int nWidth = 0;
int... |
edff06437580782523ab4806ce30c7d3223f2394e96fe94df6070ffdb73bd52c | C | 7,180 | 174 | /*
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... |
866f427b8100116d3d0b5bb4a7c63b035e598aadb8794e43b1f07adce8d54a76 | C | 7,182 | 210 | /*
igraph library.
Copyright (C) 2005-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... |
a9ab51c3490a1a8d713bf9a539674f8cbd9aaf5a23e0d9339f49862188296612 | C | 7,182 | 188 | /*
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... |
b31706eba0f5d203e28b13133868416d83a9636aa88b01eaf281a335aa4ddd0a | C | 7,183 | 232 | /*
igraph library.
Copyright (C) 2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard st, 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 version 2... |
e85bd7d23fddc599d85380f2682472d6f521d7ff817823f91979381fb5d314e0 | C | 7,218 | 224 | /*
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... |
3994bc4b8396a5e6d9cb3d34b5e62c7a38bf6c7437d70fa47ed59cbe6a92e4b0 | C | 7,240 | 200 | /*
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... |
e2e0e5f160051257f67201bef173991f7c4ba346cb2fef95630797a92c9f9975 | C | 7,276 | 208 | /*
igraph library.
Copyright (C) 2006-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 later... |
bb418873593c99e2e063d16464d4e52da83ab8231a73b8da832311fef93006dc | C | 7,287 | 271 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
40948e820656562ea7617a65d4177128d3a575ab5dc670b76a2ecc6f2ae92336 | C | 7,307 | 267 | /*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributio... |
4c921573b3f710147b1496388218daa9514fc3bc3a815306bf4d1550e686defb | C | 7,319 | 330 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
130094ecaaf2e716df974583ece68b5f6da273601107d491b2910c813594fc91 | C | 7,363 | 197 | /*
igraph library.
Copyright (C) 2003-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... |
34b67e5d8770e164710a31bb232b05a38c85d6a843c626fc5ba5f2fce78c2620 | C | 7,378 | 219 | /* ffalg.c (Ford-Fulkerson algorithm) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistr... |
f0c89cbcdb9dd32bbcb3a64fa6b0678bf5b5f8288cdf1ed60c2bb29f89e50e52 | C | 7,388 | 229 | /*
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... |
41f58a8e22885a246bf5be79c34e730d1221e98bad999024cb9d2c90ee44cf05 | C | 7,391 | 301 | /* spv.c (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... |
f403ae86731cbf25adf1aa977133fd68a99d0eaf1f4302a6009beb0c292f20e5 | C | 7,392 | 219 | /* mcfokalg.c (find minimum-cost flow with out-of-kilter algorithm) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is ... |
44a91edf02535d4a014b8aa2c85af49dddc96e298b49ec27a4b25a1ef3f641f3 | C | 7,405 | 224 | /*
igraph library.
Copyright (C) 2023 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... |
7a997a8e6bcf6892d77fd4f40404f62666184e0be27fcf6732745b515517a247 | C | 7,413 | 156 | /*
igraph library.
Copyright (C) 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 your o... |
9eb483dbe9b018247c4d2ca99931f84df6aecc7f69f9b0c829fe4e18df48cfa2 | C | 7,418 | 195 | /*
igraph library.
Copyright (C) 2006-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 later... |
8c8a7b87088e421e557c23ed8cff34beb905d1f1ebb57a23d67b674015927379 | C | 7,423 | 195 | /*
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... |
361db106ad59c30e7874cf8d6b50c018e6c3bf6c8aec3957b1e9e6d49ad1f85c | C | 7,431 | 210 | /*
igraph library.
Copyright (C) 2011-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 late... |
730d7d20f572e23fec2cbfdca1c08352ef37c59a603b1e2b1949fd5548bee7d0 | C | 7,452 | 230 | /*
igraph library.
Copyright (C) 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 versi... |
077165ae5e7cac29ccb19b125ff24c111311b45077ec5df9bb1a3a5b47922968 | C | 7,471 | 255 | /* -- translated by f2c (version 20240504).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
3478e57cb13b77e661a6befad2428cc497461845f7dea1654c90068a335652a8 | C | 7,487 | 243 | /*
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 Software Foundation; either ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.