sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
e1d28b3e30a08882ed8c9c7d6eb99641bf25932edb93c2aaa1b4edfc7142b898 | C | 9,618 | 311 | /* sampling.c
*
* 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 pr... |
a30886c078551056ec9d47a504ffbe93494f7a7d7298a68ad21c1d630027a6ab | C | 9,621 | 315 | /*
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... |
3e6affec9f0c22d5970bf7e477888827560004dd388d15affb64eb191c35ddbc | C | 9,645 | 363 | /* -- 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... |
cec054d764c03f93aed38acb5b3ee6e21ecc4659679eded8e55da8abeb225ea5 | C | 9,658 | 301 | /* spxnt.c */
/***********************************************************************
* 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... |
3b74427bab344763f2fa73224a7a8bb0eab3833032f5947836b240ae19ec24d5 | C | 9,683 | 243 | /*
igraph library.
Copyright (C) 2005-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... |
ad97bca43a0350978a9a425b834bd98ede31753702e6396425bea058e0730c77 | C | 9,735 | 341 | /* -- 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... |
f9502928a8e188585e7ac17d8859dca4a4175d2c76002a9b49177d3662a3ef2a | C | 9,788 | 163 | /*
* filename: display_setting.c
* this code is to draw graphs in 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:27 +0900
*/
#include "mtsim.h"
void display_setting(mtGraphics *mtg) {
// display settings... |
95db663781052e18946803bb6a328da37ce656812a24db8b9b9ed915906953bd | C | 9,831 | 277 | /*
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... |
7f671793147d5cd596bfbcb432e48cde3221993a97686ba4161a2d202ff04306 | C | 9,886 | 265 | /* intfeas1.c (solve integer feasibility problem) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2011-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you... |
9560309a93ef1774e24a8fe3bd049dd111a19abd8a5f216140c97d4c72411e37 | C | 9,918 | 384 | /* -- 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... |
f729b6f400128e0ac170574c38cab80a645bab2b92cb886fc792c06fb5392be0 | C | 9,932 | 278 | /*
igraph library.
Copyright (C) 2006-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 y... |
7aad72dfc01bd5107e7b3dd4b545847091e2a4818f0d39701a31ecf4382a5da1 | C | 9,935 | 388 | /* -- 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... |
9ee17b71c8b1c501d7e573559ff01713aa18e820b132c91353e1eddfbd4de7c7 | C | 9,938 | 163 | /*
* filename: display_setting.c
* this code is to draw graphs in 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:27 +0900
*/
#include "mtsim.h"
void display_setting(mtGraphics *mtg) {
// display settings... |
a3179cb366c1437579d630a3e854de143ecdfaac16c71879fb69c2a36f7adbaa | C | 9,962 | 301 | /* mc21a.c (permutations for zero-free diagonal) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* This code is the result of translation of the Fortran subroutines
* MC21A and MC21B associated with the following paper:
*
* I.S... |
77ab7d6d97d1023615f8ae9e9367c1715417d0a0565c1fc2833bba6f31180549 | C | 9,992 | 265 | /*
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... |
d28007b172932bd11bbd46a1ea92b518070dcd43e88867c86d4b5d1fb5f853f0 | C | 10,002 | 304 | /*
igraph library.
Copyright (C) 2007-2026 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... |
efd763f62ca95618dbc9abaad1c435289405ddceaa5f196e36d29407bb120bd8 | C | 10,010 | 250 | /*
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... |
1b3d5640d9baab5e1a30c6513606a4a1cd41d71a60f6421c2f0c969d722a4aa9 | C | 10,076 | 167 | /*
* filename: display_setting.c
* this code is to draw graphs in 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:27 +0900
*/
#include "mtsim.h"
void display_setting(mtGraphics *mtg) {
// display settings... |
6251c6432bed014aeeac84275d9a7258600208af6e1ba419644b78bfbb6d95f1 | C | 10,096 | 166 | /*
* filename: display_setting.c
* this code is to draw graphs in 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:27 +0900
*/
#include "mtsim.h"
void display_setting(mtGraphics *mtg) {
// display settings... |
9f1b990af78901fe8134d846b82601c78884e51bd81f1e3a09404e5ab5c15fe3 | C | 10,141 | 282 | /* gmicut.c (Gomory's mixed integer cut generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2002-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: yo... |
ccbfc2f50e9cf302056f3a71874da6a3778d25ca3b5d1962c8e9f22b03f23d49 | C | 10,157 | 298 | /*
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... |
571191dba23714f6413d7541b8ad6c3a4f5406b15de673659b51bba373ecc41b | C | 10,179 | 262 | /*
igraph library.
Copyright (C) 2022-2026 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... |
56c3bd04e9f534f11cf73fc88cb2b85ee5daaf4ed84c9f76e1768e9c11404015 | C | 10,198 | 338 | /* -- 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... |
10a8f0a2ada10805cc76b2c749cce73bbdae8b6c500e288d8fd55779d6323036 | C | 10,205 | 249 | /*
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... |
5ba42b9d31f03d6c0e1529c07a3fbf0ac0e99c845b1452ea4c8bd0b2075f216d | C | 10,251 | 264 | /*
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 ... |
f661434e321293b6e17415c80ba67f4cc55b5c3f8a3b3f06783bb1422f3829f5 | C | 10,331 | 302 | /* glpapi10.c (solution checking 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 re... |
6141b683dbbd8b79e6706fd643838e5b3bb91f0ec168dc118502e60ea1639d72 | C | 10,355 | 267 | /*
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... |
2bc36152c1382c87fe7f8ecfb66c85c5dff8139bee1f5f55f59d5ad36df6ea04 | C | 10,402 | 236 | /*
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... |
70917aa11a0406af4e4906c399ebc3220810b5e7fa65af118218afec9906a034 | C | 10,476 | 322 | /*
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... |
6219be8add3a8928d31b27b87e3e06c0415f4b5e173ed728537f27bc002e6f04 | C | 10,500 | 249 | /*
igraph library.
Copyright (C) 2007-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... |
2ad2eeafdb1a6fb27165542f997223dc5dd8933f583a8d5aad134971b1c9ddce | C | 10,528 | 314 | /* mc13d.c (permutations to block triangular form) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* This code is the result of translation of the Fortran subroutines
* MC13D and MC13E associated with the following paper:
*
* I... |
cd1c64459ece21a3f4d59a8c580a25b866ff7dd28ab7f84aae44a1da2ef2f047 | C | 10,531 | 336 | /*
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... |
9e6f0f1bb268a76637335008205c3f43425cd85fcae2cc31defa5bdeef7014af | C | 10,532 | 293 | /*
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 y... |
210b02fbc6a337699347a71b3e281084c7e21246666ad08d8364f435addfa0c7 | C | 10,587 | 278 | /*
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... |
cb003b54ce8cf9ad7c9754e578abbed3d2da761e6ed35224eb9ef8659ca7fde2 | C | 10,617 | 290 | /*
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 ... |
2d6dfc3f4d4f09bc51500361042126fc34c41c6c2f76bb3e8e03ca93133b2b0d | C | 10,635 | 280 | /*
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... |
1bb1c7f9ffcfea139b9c9d7b2624376a967d5bc47cfe4df069eb5695f75e6ead | C | 10,753 | 419 | /* -- 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... |
77e49111b77281b4ee7cb5cb3894dad6d05e5baa9efa31248ea042283589d5a9 | C | 10,765 | 273 | /*
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... |
97f3b3deccfc1b80f808108897d667a7ddc7726ab257244051a4e44d00f317f3 | C | 10,784 | 393 | /* -- 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... |
0602cd7ad3491407622c20b85156ed593ade29e085b19d32ff2085b0f67c8a7e | C | 10,791 | 284 |
#include <igraph.h>
#include "test_utilities.h"
/* Undirected case */
void graphical_print_destroy(igraph_vector_int_t *ds) {
int err;
igraph_bool_t simple, loops, multi, multiloops;
print_vector_int(ds);
err = igraph_is_graphical(ds, NULL, IGRAPH_SIMPLE_SW, &simple);
if (err != IGRAPH_SUCCESS)... |
8540f767bfcb02d26cbcc23b77a2c1ce1a8d55972932009c9f6618adaef6b3c4 | C | 10,836 | 323 | /*
igraph library.
Constructing realizations of degree sequences and bi-degree sequences.
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 So... |
831eea0f371effc7551cfb3b7dc19c0f28160dfeccce37903999d304e77e9f1e | C | 10,890 | 305 | /*
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... |
32a48acd38af395f3ddb22433451ad4de4abef1daf8da0dc9488f629953c026f | C | 10,951 | 300 | /* prrngs.c (print sensitivity analysis report) */
/***********************************************************************
* 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 software: you c... |
0ff2fa41f6b197eb91fc9a7b53ccbb6eb9db8f9ada9335f3dbbb97b38705d234 | C | 10,968 | 294 | /*
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... |
e7b1b783f3c5ffbf34d406921d906380c01b96b5ef48a462502292c32ebf9266 | C | 11,082 | 373 | /* -- 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... |
03f52d0569e7df43e1708ec9f80c0702a4f3d2e57f7d289aed08f330252ef91c | C | 11,169 | 315 | /* wclique1.c (maximum weight clique, greedy heuristic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2012-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free softwar... |
e435da165317da627c6c44e295c83fbb1020b39b6b5e41e8817ee0a58c9c2012 | C | 11,211 | 316 | /*
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 ... |
42903f571d3c66a8597f8b4f055fe3a579d4067eb6be47c63b87be5e7abf9e28 | C | 11,231 | 317 | /*
igraph library.
Copyright (C) 2008-2021 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 ... |
2d90fc217e1443ec029ffed0dcf1092b12188d68390ed92b616c0149e1bbc905 | C | 11,249 | 345 | #include <igraph.h>
#include <stdio.h>
#include "test_utilities.h"
void simple_test_case_no_weights_undirected(void) {
igraph_t g;
igraph_vector_t vector_actual_results;
printf("Simple test case, no weights, undirected\n");
igraph_vector_init(&vector_actual_results, 0);
igraph_small(&g, 0, IGR... |
7a192779d8394e59f03a43ca78fdae12ede9df34f37a5b5a492c68328999c83e | C | 11,268 | 467 |
/* Defining _GNU_SOURCE enables the GNU extensions fedisableexcept() and feenableexcept()
* when using glibc. It must be defined before any standard headers are included. */
#define _GNU_SOURCE 1
#include <fenv.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "arith.h"
#include "igraph_error.h"... |
0176794f4fa1fe827a189ed493c308585e513a9c36e4b064706e910b31ad8244 | C | 11,319 | 378 | /*
* PCG Random Number Generation for C.
*
* Copyright 2014-2019 Melissa O'Neill <oneill@pcg-random.org>,
* and the PCG Project contributors.
*
* SPDX-License-Identifier: (Apache-2.0 OR MIT)
*
* Licensed under the Apache License, Version 2.0 (provided in
* LICENSE-APACHE.txt and at http://w... |
a27fb7b47871721335fc72f7d6f45520c0da1780aad9ad01111c694c0a90cadb | C | 11,328 | 510 | /* -- 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... |
45eca7de218610fa8d41a7b9527d5e03fcd6e3c6f547bf3123217aa01d97f929 | C | 11,333 | 277 | /*
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... |
b03ad80ce245e15494a5637a79198810e84100d303b392d64dddb4be31937cfd | C | 11,356 | 484 | /* -- 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... |
799aa628813ec581bbadbe7b7866370d2c5b33e5c07022858cb81b84e2feb7f4 | C | 11,386 | 340 | /*
igraph library.
Copyright (C) 2006-2026 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... |
860918f0d2a87ab64ac42f810ed7b9c160cb61c13e168ab197e81ae32270390a | C | 11,413 | 289 | /*
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... |
57c0af91f077b967e329be131087417ded5407b58e39c755881a29f0b0f46ab3 | C | 11,469 | 420 | /* -- 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... |
a4a348726f5d85bfa7359e374a524b909f2ad8f2af3a91bae99d780b5868cf2e | C | 11,486 | 398 | /* -- 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... |
cb070e34283c17a076b7f741439dc237f916658948f2914bd460fe5aec9f056c | C | 11,512 | 617 | #include "f2c.h"
#include "fio.h"
#include "lio.h"
#include <stdio.h>
#define MAX_NL_CACHE 3 /* maximum number of namelist hash tables to cache */
#define MAXDIM 20 /* maximum number of subscripts */
struct dimen {
ftnlen extent;
ftnlen curval;
ftnlen delta;
ftnlen stride;
};
typedef struct dimen dimen;
stru... |
02db9fd16b8b4f0f039bfc0fc6f9de97ba8eec0f8e1ac40830ca6f0c3021357e | C | 11,521 | 398 | /* -- 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... |
21eb2aaf1d40bc727f82329702a2bb0aa49dbb8a3e17577f1aff361b708569cf | C | 11,584 | 375 | /*
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 ... |
eca6b2a3f71ee9265e1ec3655826a14a427e1110f8ba16f20751e04d290978b4 | C | 11,592 | 295 | /*
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... |
3711864ec5c2432a90bffed42c05559bf63873c277d50b7aca83d83e82372c06 | C | 11,631 | 415 | /* -- 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... |
d25ca3cdc3736e2f92caa0309418e17bc28199170de3f981c8efe71409b91d9d | C | 11,668 | 419 | /* -- 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... |
faece21a39ebd3daa184be145d723dcf9104bc3b6d4b7486932b1fe572df01b4 | C | 11,682 | 466 | /* -- 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... |
fa6855e05e87f70b6fc3034005632b9794d5683522665500cdf435eac7192112 | C | 11,694 | 313 | /*
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... |
6659b40e598359084cd5d7e3ce12a93747eff48d2d260df4b530a5114d69f9cc | C | 11,761 | 393 | /* -- 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... |
f7cbfe8fd6e996b5565e713c02d65bb2072538fe650bfc9f95878b32bd98a501 | C | 11,780 | 272 | /*********************************************************************
*
* ANSI C Example program:
* ContinuousAI.c
*
* Example Category:
* Sync
*
* Description:
* This example demonstrates how to acquire a continuous amount of
* data using the DAQ device's internal clock. It also shows how to
* synchron... |
68ca8cd168877d5d26ce5d7578978fc85adb607eabf432f5d141d93cffd80bb4 | C | 11,781 | 286 | /*
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... |
72a9f7f2c9423bc7b28e81b4038cce3d4cbe2cd58a72317fff4bb2302ad2dff7 | C | 11,781 | 337 | /*
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... |
aee246061511a7dd827d28c83ce9896bc989cdcd7126a5a6a7bbd288df17c501 | C | 11,785 | 366 | /* -- 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... |
7744a1f5ad20b511fe5e22e68e7997ef14b4371522a9626723490973a4875211 | C | 11,879 | 453 | /* -- 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... |
c503a8e287fecc427e5f999e35d2fb9d062e15263274aff1c8155db39f59106b | C | 11,904 | 320 | /*
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... |
208b440754bddd090c64c2453e53ee6e4820d82ab5571be47ccd5067aa77d1d4 | C | 11,929 | 462 | /* -- 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... |
e333e34529cbf23bf8cd0f10dc05d5bef4bfbaf79b56656f16fc350e997e9740 | C | 12,006 | 436 | /* stream.c (stream input/output) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribut... |
f85a890a68acf4965626ea2894617e1ae64f2f817d79908e14fdac4f2d8cdd2c | C | 12,030 | 434 | /* -- 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... |
2b5ea6a33b3ae6692f1fbf4d79ef3d0c51ec6e774a44083fade959c55b8d3c93 | C | 12,192 | 309 | /* triang.c (find maximal triangular part of rectangular matrix) */
/***********************************************************************
* 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 fre... |
13901b1c60d9ce84abb7dc0069bc79473b8a3b56336409de89c533952f671221 | C | 12,322 | 385 | /* glpapi08.c (interior-point method 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 ca... |
18f4f89a9754f9f2138469e7c05c14734bcb4c21e03761e4f51bf16711dcb7e1 | C | 12,331 | 358 | /* fpump.c (feasibility pump heuristic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redis... |
1412052ebe0e451c15fb287406ddc59a42f879fb1610c7e25ea5ecccccd2fdba | C | 12,365 | 345 | /* -- 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... |
52c8f8a8314a7f062d4e4fd609738e17e756840f1a0a3997e076de204abdafd6 | C | 12,449 | 318 | /*
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... |
ee50f06ca023e02910600c2a3bc77aa13d746119274c2920537e72bf3f9ca883 | C | 12,461 | 468 | /* -- 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... |
d8f3acffc42ee6f7d239a9f57c644645509b0a7f37c4d6df2d7886b5060a8776 | C | 12,482 | 240 | /* 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 opti... |
7930473dd685a0ef2cd1e0c1b3882df0fb514d50b00ac1e3cc846a5176663ab0 | C | 12,484 | 328 | /*
igraph library.
Copyright (C) 2006-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... |
abceb500e22896058183d9e93a403c93c43a58986adb1889bb963c142e899dda | C | 12,505 | 309 | /*
igraph library.
Copyright (C) 2005-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... |
b1e5c9a907d45ef087dc5f4ae6a67b93a5893f59462cc7b65794db19e8bbe6e6 | C | 12,523 | 390 | /* ifu.c (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 ... |
d3297654cc51ea574c7a39910a028e66b645cc38116460e4f2d6d94844df3f88 | C | 12,529 | 379 |
#include "parse_utils.h"
#include "igraph_foreign.h"
#include "igraph_memory.h"
#include "config.h" /* HAVE_XLOCALE */
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#if defined(HAVE_XLOCALE)
/* On some systems, xlocale.h exists, but uselocale() is still in locale.h.
* Thus we inclu... |
519b0af4240837fcefb836f8d9d01a7cc4f104c80a218b4ba1feb0e4b05bcf04 | C | 12,548 | 380 | /* okalg.c (out-of-kilter 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 redistri... |
6d62cccbcda13508fa2ba95dffd72d7678dda84cdc9653081d992518bd49ddfd | C | 12,564 | 383 | /* -- 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... |
48dc081b59b1d7a156e5b9f1a9a4d994348183309eadf73bc191aa0a29557124 | C | 12,588 | 379 | /* spxchuzc.c */
/***********************************************************************
* 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
* ... |
0cc998c7251ef16b6160bc59daa641ffa9dcc1a165192eeadf5b7ddf714dba3a | C | 12,718 | 321 | /*
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... |
ceb46026d8c8347058d05dd41e11401d5647478350e97d4397081a91fc06df62 | C | 12,727 | 337 | /*
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... |
b3c848c7c9e503da081049b870f981b33c7628c6fe184719165df7ab1630ed32 | C | 12,824 | 338 | /*
igraph library.
Copyright (C) 2021-2026 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... |
30fd1e346483f832a03dabf7dca809c4a49e92624c0491265e0bed80b448c9b9 | C | 12,888 | 374 | /*
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... |
da785689fecfe0ff93921a5cd409ef539a3ab11dca428857ba601b59c9f71fca | C | 13,039 | 403 | /* avl.c (binary search tree) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2000-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it... |
2a876b8a7edf7285891d48d1e338204bbcd9ef64943b169d364166e5610cbd2b | C | 13,125 | 403 | /*
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 ... |
352bc7d76a90cfc3443e6c9cc06316e215f5ac482bcb93347b253bd6059712d0 | C | 13,146 | 406 | /* -- 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... |
f0e5d0887912622af4f52e8db9edb2c0304b0a4e0bcc6973f51151ae8c1f6468 | C | 13,157 | 501 | /* -- 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... |
6d2f79d2cb9a0cb9e18f7d00a2b7aa04a7de40a43aa9f3a078e41c57df64dd74 | C | 13,165 | 376 | /*
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... |
cb6492ee20bbe8a51506c23d8a4ab64a8c68c51db1c3202079c98f338ddf28ae | C | 13,186 | 392 | /* -- 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.