sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
99837d012f0f198c9f46ac7c682ccaa53732c490750271a4e8330c4b61aba715 | C | 7,506 | 377 | #include "f2c.h"
#include "fio.h"
#include "fmt.h"
#ifdef __cplusplus
extern "C" {
#endif
extern icilist *f__svic;
extern char *f__icptr;
static int
mv_cur(Void) /* shouldn't use fseek because it insists on calling fflush */
/* instead we know too much about stdio */
{
int cursor = f__cursor;
f__cursor = 0;
if(... |
c8088263695c0a5f787fcfd046dd0d4de91330ee0702dadde4e472371af07a82 | C | 7,509 | 264 | /* -- 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... |
0628d0065eea5268b1f47ac7850f5ba9d99c39b6a1a101ae23d9cf11c599e3f7 | C | 7,512 | 242 | /* wclique.c (maximum weight clique, Ostergard's algorithm) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Two subroutines sub() and wclique() below are intended to find a
* maximum weight clique in a given undirected graph. ... |
e762f7cb59b983fbc22627bacd4b776ba9628feb8a0b4e0cca0970b4a4464b27 | C | 7,513 | 264 | /* stdout.c (terminal output) */
/***********************************************************************
* 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... |
81c8e8c533491c1f2ee11cbc6f4941b4f1bc64c74f7b112e46e35a6b7e981231 | C | 7,515 | 184 | /* pript.c (write interior-point solution in printable 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 ... |
b9549505c8db33d14c3dff058219058e821ed0311a3cd546bce20fb2535b9a16 | C | 7,583 | 207 | /*
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... |
0750ce3c974cd401fc82c153c1a1126abddbc7cc73a905f2fd72d5bc308fa158 | C | 7,598 | 216 | /*
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... |
e0bc5d0d5334d139fbb023e5e8120a91e92e1893be7fc8ed7914f945d7078b96 | C | 7,600 | 278 | /* -- 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... |
a5d9b64404de37493333b8110e850e944d3fcf678a74ba52bf0ac3d8688a89bc | C | 7,627 | 250 | /*
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... |
0d115e1826372581d4eb298a6f473349d588036a8fcfe73ff0c9428ece62a1ac | C | 7,671 | 211 | /*
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... |
98b5361cee214da5e5c12f93866eaa3a78e57801d6c8f52332fcdbe0f85d54c2 | C | 7,685 | 276 | /* -- 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... |
e04bc184746a0d1db66d3a4000158393af9be22cbe3fe51c4907a0942fd3c04b | C | 7,688 | 269 | /* -- 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... |
f12151c7dca9e0812ebb46ff27bf86ad1fc94ffadeec2991f88ab7593d1991cb | C | 7,727 | 178 | /*
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... |
47447be96b478702ce158bc0fa0dd86a94dae65a473fa9711905bc847c93d10f | C | 7,789 | 277 | /* -- 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... |
a1ed31a84c29baeaec0ea5a9f46a230282cc35008ff7197b546ad814b16218f8 | C | 7,820 | 240 | /* 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... |
d918fd2db46df0d34ebc674d29092d8e470d03656f167636e8bbdb21e6ae4880 | C | 7,828 | 272 | /* -- 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... |
aa4c14f7726564c181a2e7da2b43dc5dd0a0d0f2eb7bcfe522dab6b0241cd2db | C | 7,921 | 301 | /* -- 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... |
8f776d2c77ebdff2cea4d0a1100058fde3bf14bb0164182f0e3d3f8e9e207258 | C | 7,924 | 209 | /*
igraph library.
Copyright (C) 2012-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... |
b29785d0580dac6da249a5dbe2b1d3df4e0f23cb7da596238813455efc31af67 | C | 7,933 | 306 | /*
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... |
d60a0db6321af903de1b1805c35afda096402ccaf245f7b2260d345aa8c1a84e | C | 7,933 | 205 | /*
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... |
2a7878aea91f08a22a95fcb35e123deed8adca99e51017568d46e20e9632e510 | C | 7,948 | 231 | /*
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... |
b2837b174d6bcd0a8fd4f82414c303ce869ca42bdd8b540477e8bc7512468e94 | C | 7,973 | 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... |
98ce0894bc1b4c9d589285cf6474f01513e6c09e642f9879018d2e93a7a81fa4 | C | 7,982 | 270 | /* -- 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... |
bf2fd895f91862d52624bf3dae7aabc7fb6b660294636c48310a7f54833edf1c | C | 8,013 | 253 | /* scfint.c (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... |
86aff05d94ea250ef5368cf782f528d57ec0aaed202ed45f94a3f0dc208472cc | C | 8,017 | 214 | /*
igraph library.
Copyright (C) 2005-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 optio... |
85b0674c789814f5ecdf6a94ffa2e9508ee43ec1ff81f70fd32b6d31ebf02008 | C | 8,056 | 214 | /*
igraph library.
(C) 2006-2021 The igraph development team Gabor Csardi <csardi.gabor@gmail.com>
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
... |
ebcc8034a5b038fe7dc9006742df6d581469c8a27f7a658db34edf4ba44565ff | C | 8,058 | 216 | /*
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... |
766ab4bcbff4f0cefff9ec81b2633facede59ed3b628274504ddf589066edda6 | C | 8,069 | 207 |
#include <igraph.h>
#include <stdio.h>
#include "test_utilities.h"
int main(void) {
igraph_t graph;
igraph_bool_t has_path, has_cycle;
/* undirected cases */
igraph_small(&graph, 0, IGRAPH_UNDIRECTED, 0,1 , 1,2, -1);
igraph_is_eulerian(&graph, &has_path, &has_cycle);
printf("%d %d\n", has_pa... |
5536063c29484651819dede2ebb19fe1efc2ea674b94b938d51c99cf8dfe9d31 | C | 8,097 | 200 | /* prsol.c (write basic solution in printable 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 software:... |
97b67d241db5ea271d8129d56776f77cdd12e0df895adb1fc2f0298dc08f8878 | C | 8,111 | 182 | /*
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... |
38feaa73c23e3cd16fa2d0427f95c5dc57d93570a878d283d4a7fcd813331035 | C | 8,134 | 182 | /*
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... |
685c68d5950718a2e3841e44bd8c32e634193c766d88249c1c02c70e99c790ea | C | 8,154 | 177 | /*
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... |
723fc76365556f6616e4da366e7c17427d30ce654c0abd912b7b68f96d267ae2 | C | 8,157 | 310 | /* -- 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... |
11f4a653818a4e98b53ebb9598d72d1141bdd31d764c16dd7a0702967acd4b93 | C | 8,168 | 223 | /* rdsol.c (read basic 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 software: you c... |
1dddd39eebca2f42a5a920eebe55720183d7aa2759e7f9aac99c1f1209f76b44 | C | 8,194 | 202 | /*
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... |
ff8b3c356b991d99bbb85d5acf366d9f5fd52b4276577a34929c557992cad4e8 | C | 8,222 | 193 | /*
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... |
1449dadeae93a57f78330406475e198afbda85eba3272abc7366eb8fae7d566a | C | 8,255 | 265 | /*
Scythe - A Simple Bayesian Adapter Contamination Trimmer
*/
#include <assert.h>
#include <ctype.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <zlib.h>
#include "scythe.h"
#include "kseq.h"
__KSEQ_BASIC(static, gzFile)
__KS_GETC(gzread, BUFFER_SIZE... |
08ad0ceb5ff83cb7c2b853c90881997347aa60e5b2220e8bebb29f6b2807a1cf | C | 8,282 | 284 | /*
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 ... |
a8e82936c31db62ffe188839efccc48c77993dc70f9ca37670622fe090f0f47b | C | 8,332 | 288 | /* sequenceMatrix.c -- object for doing popGen etc. */
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include "sequenceMatrix.h"
#include "../pgSummaryStats.h"
struct sequenceMatrix *sequenceMatrix_new(int sampleSize, int length){
struct sequenceMatrix *aSeqMat;
stringWrap **aMat, **nameVect;
int i;
... |
7d0293f1d2c0d127a1be9a18025543ec0275a1f82716fe272c228f41ba57ef3a | C | 8,372 | 293 | /* -- 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... |
be33174a8b97a25222d5a757356f6f3433c438004272ff302ea1e1b4620f15be | C | 8,396 | 301 | /* -- 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... |
a1b1206b8452b9a70ce428ba5ba7812230e9e8a36b51f2ebaf23f3af60a0e0d7 | C | 8,417 | 236 | /* -- 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... |
04151ea32d17cf34e9298d2ebca351eba97831036fb2ed5abd168429f4e8b2e1 | C | 8,422 | 305 | /* -- 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... |
c9bb852441d7105717262b9d71ac4cee732361c6fb9ba71955a4d1ecd9ea604e | C | 8,460 | 237 | /*
igraph library.
Copyright (C) 2015-2022 The igraph development team <igraph@igraph.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... |
669422af1fa33e3d43b8b16d03be9ef7cd3c1f9a1c8d4322f2aecb3b344c05c4 | C | 8,471 | 250 | /* alloc.c (dynamic memory allocation) */
/***********************************************************************
* 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 redist... |
d57facc87bc4b03e21553246a51ff721df8328acfa03f68c8ba669f3b71ee5d0 | C | 8,476 | 275 | /*
igraph library.
Copyright (C) 2006-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 y... |
1f985705fa253ca21ce03558509633aaa1917002f416732a65121d34410d2a82 | C | 8,477 | 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 opti... |
abdf072bdcf9941b19dc57ad03abec7414dcb3b3ac814ee346c8e4e7f16f3c3f | C | 8,484 | 310 | /*
igraph library.
Copyright (C) 2009-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... |
b2601cd37aea6e9c4d115e6444382075365faa124bfeddbdb4b931918a3654e1 | C | 8,486 | 201 | /*
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... |
3091cb3446e5718af60eadc9a1007afc187a8716450c91d8fc12b71adfa4df4a | C | 8,508 | 255 | /*
igraph library.
Copyright (C) 2006-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... |
a7af0531db87395e31d318f30fe74a8488367f9163f5eafaca10c79b99427931 | C | 8,509 | 215 | /*
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... |
367ab58f94f652ebda26e84761bb5188961262c7661386cf392ca00d094486fe | C | 8,566 | 530 | #include "f2c.h"
#include "fio.h"
#include "fmt.h"
#ifdef __cplusplus
extern "C" {
#endif
#define skip(s) while(*s==' ') s++
#ifdef interdata
#define SYLMX 300
#endif
#ifdef pdp11
#define SYLMX 300
#endif
#ifdef vax
#define SYLMX 300
#endif
#ifndef SYLMX
#define SYLMX 300
#endif
#define GLITCH '\2'
/* special quote ch... |
016123b54f261a424ff094400f90b5cd512ab5bd16a1649a7215faf8d925213d | C | 8,588 | 221 | /*
igraph library.
Copyright (C) 2006-2013 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... |
2ed96a22d1c02c13fdbdd76a1891c2c3e82fff0471028eaae0945d9a285d9116 | C | 8,607 | 265 | /*
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... |
36e67a18b3efb14bfe05d75640315fea31e966bead77992650e48586f502e2c3 | C | 8,613 | 206 | /*
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... |
18657b857eb7a024477bbc7283592c2cd2ed519aa0ef0b196d33bd7e572de339 | C | 8,641 | 170 | /*
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 ver... |
38d7d3a9ce7b47918170efd39a6465fe8c4d9d7cf017874dae3d134bb7dff052 | C | 8,642 | 313 | /*
igraph library.
Copyright (C) 2009-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... |
39ba7c42148edea879efb21f4e3c298ab85744f277e19033455fbad09bee74a6 | C | 8,652 | 252 | /*
igraph library.
Copyright (C) 2013-2024 The igraph development team <igraph@igraph.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... |
1e779941d40ec948364dd756bd7bfb2dd1fe48c7755924bd601fcf5c9187b30f | C | 8,668 | 285 | /* -- 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... |
2e4fbec4d6fd6242837059b22f34b518f7354a30b4069945bf8ba371390fd7d1 | C | 8,684 | 263 | /* spxat.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... |
a17bd3205e767611d31769d2d5f5b7875a0b6929c23087cad580dee9dfd12721 | C | 8,688 | 249 | /* mcfrelax.c (find minimum-cost flow with RELAX-IV) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2013-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: ... |
4983bb937c62a22d4545ebd04b5b9703759c5737e2644619953226b58a3b3fc7 | C | 8,697 | 259 | /* -- 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... |
1abd20d26c3cf640e3cd5298eb865a6b9c977415cb75c0695ecd1df96da25000 | C | 8,723 | 244 | /*
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... |
dd5f776d84c3a4028ef78b3798b84cd0abd190ba12989bb8138b5db6f3382c04 | C | 8,753 | 233 | /*
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... |
53bd106aa353517580d40786d2e87c9a5e7c8c693a71bd12ee7fd5ce2bae61ed | C | 8,754 | 243 | /*
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 late... |
83d5c4f0c1d30bb98b7920ce0688939ef92eb182e1955e5743f6da5e78373ce3 | C | 8,763 | 332 | /* -- 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... |
9950f0fefe017372ee54372725784892f049bddb23b5dac8e88bab87f4b4b4d0 | C | 8,788 | 293 | /* -- 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... |
cf33f8ed3b30ddc2f3539b5f14060f345f6905a72040b550d40e728762e59435 | C | 8,840 | 279 | /*
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... |
df6f393d674a65bc1651a906ad6c921429e594afd8c87ed94d5356448156984e | C | 8,843 | 218 | /*
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 ... |
dde08f21284ca63a4c572430ea44ffa77d48a95b2b2769cce7005ad79329c6e6 | C | 8,904 | 217 | /*
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... |
5e431a9df94b9e424fb1c5f4aab95a444b75818913eb3b4b2b32a23c7e595502 | C | 8,909 | 239 | /*
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... |
3239c585935dc4858bc7066c23394684ac4cd6bb5ba88e4369dbd9f944b7a9b9 | C | 8,919 | 267 | /* cpxbas.c (construct Bixby's initial LP basis) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you ... |
165ff7f5f5273147725614236a7aae299a72d8750e943e34bc8af07a35849be0 | C | 8,920 | 322 | /* -- 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... |
ed26ccd8fc3b77f761c40901e7be48832a1dcbee40128efb5051b8f413adf180 | C | 8,925 | 553 | #include "f2c.h"
#include "fio.h"
#ifdef KR_headers
extern double atof();
#define Const /*nothing*/
#else
#define Const const
#undef abs
#undef min
#undef max
#include "stdlib.h"
#endif
#include "fmt.h"
#include "fp.h"
#include "ctype.h"
#ifdef __cplusplus
extern "C" {
#endif
static int
#ifdef KR_headers
rd_Z(n,w,l... |
d0b96e4a2f1175cefa77d6e0eddf3760d329c08ff7151df5eb6aed07a7c1ad8d | C | 8,960 | 272 | /*
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... |
b41fb1462aa6ee3f3eea7c063099b3da1d1700e41ce867db0ec0c51e4d0f5985 | C | 8,965 | 424 |
/*
* This file contains the vertex reordering routines.
*
* Copyright (C) 2002 Sampo Niskanen, Patric Östergård.
* Licensed under the GNU GPL, read the file LICENSE for details.
*/
#include "reorder.h"
#include <stdlib.h>
#include <limits.h>
#include <igraph_random.h>
/*
* reorder_set()
*
* Reorders the ... |
e3b8df8b93de966198eb93420945fe0b72211813e5250a864d8c32ad16321993 | C | 8,974 | 260 | /*
igraph library.
Copyright (C) 2021-2022 The igraph development team <igraph@igraph.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... |
f213b2dcb143cb965be03564b3569172d33b3f07c82979900ec09420b605b89e | C | 9,026 | 313 | /* env.c (GLPK environment initialization/termination) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2000-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software... |
ebe7c06d75af75f7cd46ab8eeb02fec56cfb6199fb8b4a733e24d883f6516371 | C | 9,038 | 227 | /*
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... |
e2fa2c2e3e96c6d450569724c429145ae1d2e0a68833ce820e0ec0fe8bad8318 | C | 9,092 | 222 | /*
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... |
6ae992bedefeb0f8d94362ba6b9946c733ae6707b582a13bb9d39d7e3afd5ee0 | C | 9,100 | 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... |
d2f25999e029a52b1e1dc380ea8de2102069f09a8af21d5cf101d2ff0587ea18 | C | 9,112 | 267 | /* mpl.c (processing model in GNU MathProg language) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2008-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: ... |
71d1c6ce2f08f06efd2e9da2dd826856e88615d356b7e1c49ffb9f94ec9a9439 | C | 9,155 | 245 | /*
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... |
f231a7d797651aa3b61aa64f3e04e10b5a09583931cec6d9866e5ddc85c8d722 | C | 9,167 | 279 | /*
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... |
cf0c0bc2915dfe927ce1d7434205d27684040e52bde3885f80a30430f2e68558 | C | 9,171 | 255 | /*
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... |
6a3c641d7519ac9f997724d42ebabdc9c0054c611311fba4dba7e2e72118f040 | C | 9,180 | 255 | /*
* 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... |
6758063b273b637fa3bb8734ccb53443f622a2a8755adce9694f762e3f857de8 | C | 9,237 | 344 | /*
igraph library.
Copyright (C) 2007-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... |
314f25724a8aaf70d7a61baf74ebabfbd35fcd15d87cb744e0f3d9355fd27d13 | C | 9,268 | 323 | /*
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... |
3a47a57689e7616bc53b05ac028fb364d2c945598c8408f90f24e6cbf982c982 | C | 9,308 | 362 | /* -- 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... |
5bf32ca5e217419b15a0da05dbfcedae8f8c4549720938e873d361fbe2277338 | C | 9,313 | 288 | /*
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... |
e7140619ecddea50648ca9aa2c3cee85d4c214c9df58d1fa252de4a6d31456ad | C | 9,340 | 233 | /* keller.c (cover edges by cliques, Kellerman's heuristic) */
/***********************************************************************
* 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 sof... |
dba7077ddaaa4a901ceca4b577ce455d15f423dce61d40b1d2ad32d986860f30 | C | 9,368 | 267 | /*
igraph library.
Copyright (C) 2006-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
Copyright (C) 2006 Elliot Paquette <Elliot.Paquette05@kzoo.edu>
Kalamazoo College, 1200 Academy st, Kalamazoo, MI
This program is free software; you can redistribute it and/or... |
8c60dea7a846cb59063d286c27ba828701e0e47d653950c70d1856892a18ee21 | C | 9,370 | 275 | /* -- 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... |
f152fa14223605328027363e1d47d7bbee148e8e786da4e6ef1064911d2e021b | C | 9,381 | 248 | /*********************************************************************
*
* ANSI C Example program:
* SynchAI-AO.c
*
* Example Category:
* Sync
*
* Description:
* This example demonstrates how to continuously acquire and
* generate data at the same time, synchronized with one another.
*
* Instruc... |
c3e420daa61e5348dd3de445ccc704b0c9cf543c6c0ed2d3a79866166a1906be | C | 9,416 | 261 | /*
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 ... |
983b290923e9c344ad991ce3d6368f613d4244f5df90a4d67a893262dce9d4e8 | C | 9,440 | 249 |
#include <igraph.h>
#include <stdlib.h>
#include "test_utilities.h"
int compare_vectors(const igraph_vector_int_t *v1, const igraph_vector_int_t *v2) {
igraph_int_t s1 = igraph_vector_int_size(v1);
igraph_int_t s2 = igraph_vector_int_size(v2);
if (s1 < s2) {
return -1;
}
if (s1 > s2) {
... |
313efb55c60d15ff3cdbfe980f9f6e1a9399f3a71c41b900c63b9e3fe6d8b33e | C | 9,450 | 284 | /* bignum.c (bignum arithmetic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2006-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute ... |
1aa640c8988493f8d33f1d3a5ba08faf557dad13aea82fc5974f45181109b8fa | C | 9,585 | 261 | /*
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 ... |
cbb243451f3c358eee9f81e561a6c305d7d6689b9abafd821b2d0b695639b9c2 | C | 9,586 | 307 | /*
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... |
be453fef03c02537f81f95283347467dac3a6bcbd67fd45ebf12b90bbb3eef70 | C | 9,599 | 245 | /*
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.