sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
dee5f5ee09aa43d35dd458c70064ee9c40e21af6b07445ab86c0388fc08e1f18
C
3,572
86
/* 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...
84dd756c13def495e68f510c7d52eaa2e7cef3f0fbea46f0fb4173c9c7d676bc
C
3,578
100
/* 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...
b17b03712c07f95024543e8c40c8883baf9789c4602a180ba48908d9cf79f8f5
C
3,579
111
/* 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...
20e8cfe018c0bb60980e5bc480f27dbb1b36c2eb1e4fd179cd73d978f2081172
C
3,582
152
/* gss.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 program...
8fe006e61f54b180eb6c307b205912dd78ffdef20249f9ba6c5597aa20cd76bc
C
3,583
115
/* 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 ...
b8d6fc48faf5698fc786e88eead175766762d44b05ef5762f2840eef789561f8
C
3,585
105
/* 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...
c48d8aa216c1de7f3d40c396e4e130d228d63d845d4d7105931d79d9c5964914
C
3,593
96
/* 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...
f8a703cea2b6b98a5f09ef219643b7340ece4bb10a95c62d72617d989fc0341f
C
3,593
85
/* 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...
03d4a4b39db7d72334577a1481eed19a72974832aab561e6a059f69dd3e25af8
C
3,604
101
/* 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 opti...
d2fa4373227cd5c6914f9a3e07d650ff7a8603317755fbc2c578b9747c0e8061
C
3,606
127
/* 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...
69ffa61974457a2520a8e3872299180b8c547ea485368b4155e809083bd318c1
C
3,607
146
/* -- 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...
7bca0eca8a3589cd739b224443fade95b49b8b53c6f313e9761241f0f385db75
C
3,610
88
/* 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...
b33e0e4fe457a9efb3e8d993f9e429fbc608346e7e01cfdaedb9eb05ab4370fa
C
3,610
123
/* matches.c - sequence match scoring for scythe. */ #include <assert.h> #include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include "scythe.h" int *score_sequence(int *matches, const char *seq, const char *pattern, size_t n) { /* Score a string using constant match and mismatch s...
dcefce7e7eb1f3e253a70575445808f4d5530d9b05a31138c801bff8fae1a4e3
C
3,618
108
/* 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...
18d822b8dce4b30c1295bc09fe42db7edbf5a2c29d867f684d8412b0397a8891
C
3,650
135
/* -- 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...
42c45616533ce1b506d9625ab72df7cc3d6985f53fc5d85ef643f770b56d9b52
C
3,653
96
/********************************************************************* * * ANSI C Example program: * DigPulse.c * * Example Category: * CO * * Description: * This example demonstrates how to generate a single digital pulse * from a Counter Output Channel. The Initial Delay, High Time, Low * Ti...
7bea3306a067db7561f8bd8ba53eea2661a428b955a1f9b60959912ec0451af0
C
3,657
128
/* tls.c (thread local storage) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2001-2017 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute ...
7b8c5e9894c4f7c439afe1cbabe7dfdb4c9b96e06c82ecf318829d7085340de9
C
3,659
95
/* 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...
c86640dba2cca1611c36b5c7afb7779d61494fefeb563189a8b4cec3d382db27
C
3,659
96
/* 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...
50360b0a56c9b28f78d315ed8b2b7e781ea39dd2b199e33217105d160d00644f
C
3,660
149
/* -- translated by f2c (version 20191129). 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...
3a23f3c2d9869d567273d3ecda661e9a66f7ecdd60ea5ace269b33f8cbbbe107
C
3,668
84
/* 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...
3af2dee93f48f843d6297f5f431bccd02edf6be85ceb24192d0500618428f4c2
C
3,672
134
/* -- 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...
7c0d8cb3af7c8a0e838adf454f98b3c8d682ffe5834d08b338aec31e5cd37a73
C
3,672
126
/* 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...
52aacf72526ac4a2962a13d734b3c187830555dbfefead27bc3e0790b6cf78bd
C
3,674
95
/* 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...
b48a82265538327883f337460250d4ad24e3dcddeb6f9313b52785d53ede67e8
C
3,680
102
/* asnlp.c (convert assignment problem to LP) */ /*********************************************************************** * 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 can...
5d5e27dba0a217175c040e2c935d1faa89dc7eee38df2f0112c257a7ba64f40e
C
3,684
150
/* -- 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...
6cb499d7737189094f282819968918bf6eee68fdc553ac6ab9545df9ed644f63
C
3,687
129
/* -- 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...
4f76110b6e34759fea4f34fac13155ddda641a3fa97a591a9bf11265080c6b99
C
3,697
154
/* -- 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...
59b56d1a2c6e63d4da55d0b9118248982475ca3832c9231c1043cfa8687c21a1
C
3,697
75
/* * filename: save_logs.c * this code is to store simulation results of the position of MTs and pronucleus in text files * Author: Akatsuki Kimura <akkimura@nig.ac.jp> * Akira Funahashi <funa@bio.keio.ac.jp> * Last modified: Wed, 20 Jul 2022 01:46:48 +0900 */ #include "mtsim.h" void save_logs(int i, int...
7a3022371f7647d7a533247141bb16225a243e4a8d3bb887feb96cfdd7032d6c
C
3,702
114
/* 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 ...
a5df064487ff4af4c8e4a15676e019b33d4d893f4979be3acbf352e7fe55f082
C
3,705
111
/* 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...
df0b32b2a35980d9c34d5adffebc41fc882e56c5c9f98fed383da91e2c86d6a0
C
3,710
118
/* -- 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...
e133aaa8312b426a602d41d4b57748eb1ce110472800b40192cc622a8faf97be
C
3,713
96
/* igraph library. Copyright (C) 2008-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...
1e114789954d1e86c206f5784143ea329d9458d24762c1e8b2b18ff23997fa10
C
3,729
119
/* 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 ...
962dcfc29fcff487f04be974ff5938e2de62892d0673f4310b3bd32053134e14
C
3,732
92
/* igraph library. Copyright (C) 2007-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...
6f9ef48cfb72cea11281d01546967c08eea2cdbd116a8cbe4e99e59734dfa8c4
C
3,733
110
/* 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 ...
13866614d81f44ba6add340786dc021f957c74af260bb28d5410e9db3eb83eb5
C
3,744
98
/* 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...
f28be1243a5512971b8f3b4c6ba78ff2f6f78f0f42decb307b5308f3e8336bdc
C
3,744
92
/* igraph library. Copyright (C) 2010-2023 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...
c1eb665d5e692973a9733eea5777a5a71729ee39e528e7d9a594ecfab6c144c3
C
3,747
95
/* 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...
1ed114cbc1d75b1a3c57d9b44ee423e3de786900e7c0980c85f76b42542e8628
C
3,756
88
/* 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...
d886a01d81f660e5518a0d356b54b447811d942b22570ef1f0029354f5fd6bdc
C
3,756
125
/* igraph library. Copyright (C) 2011-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...
22a6512d2d6fd3485a5bd699232d9d47acb934cec451c2d648c5c690eaf27860
C
3,761
112
/* 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...
ba9f4d5e0a5a1414170e25493aeda2c21a8ae231d46a74be32e8381c454fb9d7
C
3,764
116
/* 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...
7ec95f14743e8679c3e06e870f82f94e2b152a03b20f57dbda6fa80f2a27d72b
C
3,790
86
/* 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...
ed0de070d149f2ef17ced3bdb622584b7de527bd394c33f1848fd906ac0d9cf0
C
3,790
125
/* 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...
c3f3eb34b2abd7bacfcc6665b1c3ce5118c49cb0ca560b2589ac67557bce357a
C
3,791
114
/* Copyright 2017 The Johns Hopkins University Applied Physics Laboratory LLC. All Rights Reserved. Copyright 2021 The igraph team Truss algorithm for cohesive subgroups. Author: Alex Perrone Date: 2017-08-03 Minor edits: The igraph team, 2021 This program is free software; you can redistribute it and...
75a7363648ccf0bda4011dea99b5c8ffdda62a9e56656774507d66236e9facc1
C
3,801
91
/* 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...
cbf0ac99c10c0066514cd5c5ab68c32fa9a7e66d5f7327a533e995c58505a0ae
C
3,802
113
/* 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...
2c70ad6af4fd171d303feff4dfd6535b5d2b299881f3be1b763e265513aaf041
C
3,807
84
/* 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...
c6dd10790b5b0b5a6bee7f5fe303cf113172486189f92f84ae5125b6def51de1
C
3,811
116
/* igraph library. Copyright (C) 2011-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...
39155e16da567fcbdb4d95396dbec9912359d6920137f0a4e4a465087e93de6c
C
3,812
106
/* igraph library. Copyright (C) 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 your opti...
730617164b779144f3bf2dfaa976dec23e4969c4adda4b7afc51166c68a9377a
C
3,816
136
/* 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...
3600e458e828f4149987de5ff7dfb4dce0eb090a1e1bd61603a45df6f5e89580
C
3,828
114
/* 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...
f59bf116ae8fca27e95f47e36ff810bc5da031216f9539816ddd9ff35f296882
C
3,834
87
#include "cs.h" /* compute nnz(V) = S->lnz, S->pinv, S->leftmost, S->m2 from A and S->parent */ static CS_INT cs_vcount (const cs *A, css *S) { CS_INT i, k, p, pa, n = A->n, m = A->m, *Ap = A->p, *Ai = A->i, *next, *head, *tail, *nque, *pinv, *leftmost, *w, *parent = S->parent ; S->pinv = pinv = cs_mall...
4e420a6759816d7263a1b94dc74a48fa41fcd2581b6e39536719c006cd031c31
C
3,843
112
/* 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...
81d9ed874261907fdefad930b3ed35b036037f84bd6a3f34718a41bbc6682e79
C
3,853
132
/* 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...
2444a6020c8b74b804bc1e8760b3e42abcc29a269c9a7f2e607c2613572e85e0
C
3,856
109
/* 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...
9900d7d39f182ef7c7d7795a6ed34d2057089b4e5278017a40f9586dcd43e91d
C
3,856
148
/* time.c (standard time) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2000-2017 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free software: you can redistribute it and...
43194450138e70901bcf66e1a4c4d4f3e886138284759f7e1049468fd370e32e
C
3,865
112
/* 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...
3ee051c025840b7ebe67a18527201ffab5d889f287c0aa2b18b5fdca7548759f
C
3,889
114
/* 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...
d4aab9c2c3bbddc084ee434a1a64386c06a89b893a7ecce41af725dd78e987d7
C
3,891
111
/* igraph library. Copyright (C) 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 ver...
309ce0a83717a28e42002b684e9b74607c6f3a2aa866eea32bdca6b6aaed303d
C
3,899
102
/* 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...
87070f4cabc1a5d7ebc76cd2c20424c7350fa904a2e06047abb816e60ec7e446
C
3,900
125
/* 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...
dc9910fbb66f2b2313ad0810386fa47818157f0afec927bb067984ed473f0445
C
3,907
77
/* 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...
ae45a1a4e3c6e51de087f2581272d2a47c7a5543793eec50cfac28d57748188b
C
3,935
133
/* 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...
f8624e1b9a4b61cb6b327c79230a2fb2f00d8afb1aef547c68e5e8dc1080cce7
C
3,935
107
/* 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 option...
ac50f893e2f732778d58bfe17d52eb5104ca69fcba8fcc5acc3e3341af2b844a
C
3,945
112
/* maxflp.c (convert maximum flow problem to LP) */ /*********************************************************************** * 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 ...
c2edce44d9dfcd12f4d199491b40b9a8d14f9d2bde890f199f2e1be898aa4bce
C
3,952
169
/* -- 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...
3e3510e2f1a40512da6616b40911c6424ec7fce72c4af31439da01137ec8613f
C
3,955
117
/* 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...
3a2881743a8b3f6a58b7a123cd6952b0ae17bbd60e797b34ae1415c258950ad9
C
3,956
109
/* 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...
4e05761165ef36c64daa0ed0783c3c41024fb621fd957c40edcac4bca5f6cd9a
C
3,957
164
/* -- 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...
d5b019f45da0ca959b2da81aad92198e04c2f29145351cd108e87f02d8078598
C
3,976
115
/* vim:set ts=4 sts=4 sw=4 et: */ /* 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...
785a1707113a38649b17637960d8b469ee931cdbd630d51421ce1239485525e8
C
3,990
122
/* 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...
1202a18904f47c7d645c13eb1ece90bca8869124469b5bdef1c014014d34d8df
C
4,014
110
/* 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...
b66087af6e929d306f14135d51d66b5d3d15dbd877107b4c1f466d5285077185
C
4,028
106
/* 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...
da25f72747cc48bc2baf2450f1120c6c6cdf9110ba60039567b88f7e0e7cab88
C
4,030
114
/* 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 ...
241c3371412a86385914a5d94954b8c7be7695430c77551665421b9a7fd219b3
C
4,055
95
/* 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...
7cd6b7063a242406bb679eb3cef7265fc536edf841455cbbb2ee2dcbbe96da9b
C
4,056
118
/* -*- mode: C++ -*- */ /* igraph library. Copyright (C) 2011-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 Softwar...
e1661d8dd0ed40c8db9abaea8571592fa331fa43dd5ac3fb7bc7cc55474fbd20
C
4,059
171
/* -- 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...
d1ac02496059795f1565179162999ee5248ed3f82c9695b03d99585b0e6ceff9
C
4,067
176
/* -- 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...
571459235328d52ff567f24f02f7b5b58aec4dda8e5b100fcb35ad9aff90ac86
C
4,073
150
/* jd.c (conversions between calendar date and Julian day number) */ /*********************************************************************** * This code is part of GLPK (GNU Linear Programming Kit). * Copyright (C) 2000 Free Software Foundation, Inc. * Written by Andrew Makhorin <mao@gnu.org>. * * GLPK is free so...
1b873c73e5bcb43af6cf567e474b02e0d3c594a1659d76ae30d3fc44e5b11173
C
4,088
144
/* 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...
1e55bf0025b9c9405293daf5d14b43d5f002f43fc03b7a145b45864c4bdf4fac
C
4,101
113
/* 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...
be9534069ddae29b1586eec900ae0f682dc587780770c846c251e22901ada639
C
4,108
97
/* 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...
83c9bfcee065e1311a6274cf2903e7f9cc000eb83b31d019374a7b51002468bf
C
4,122
126
/* 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...
abe47af958acf76e48491e6f4c7e7434707c8e2a3e7fe73fe99e44ec4967aa2d
C
4,129
88
#include "cs.h" /* [L,U,pinv]=lu(A, [q lnz unz]). lnz and unz can be guess */ csn *cs_lu (const cs *A, const css *S, double tol) { cs *L, *U ; csn *N ; CS_ENTRY pivot, *Lx, *Ux, *x ; double a, t ; CS_INT *Lp, *Li, *Up, *Ui, *pinv, *xi, *q, n, ipiv, k, top, p, i, col, lnz,unz; if (!CS_CSC (A) || ...
a8243d317cfaaa147d7e52b7f2a1ea6ab55018b792072e5abc17c6afcee44a54
C
4,135
132
/* 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...
f05e27f6ae138bc087e5ebd6dc3d283d39f3d8d303d851582320f1691ada06e9
C
4,140
108
/* 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...
7d6035d53191b22522842c5da50d593ae99893ee87145e0811c722b9d17f2d5e
C
4,151
120
/* wcliqex.c (find maximum weight clique with exact 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 free ...
344131977270d138cad58923bc699ddee0566ea2fa284cacd6e38c71a9c685b7
C
4,158
176
/* -- 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...
c7052dc0e3d4ffd10a0a393b4a335c2bc7b20ea0fe746fcfe94b0a6f48f61ff9
C
4,178
147
/* 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 ...
1fa3d628c956d6b90a080659b848978fae0f11ce00efc6d2c429360e01ad6fbf
C
4,180
129
/* 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...
21637c53eb3dc894f55d09e81e9484f83a4bffbc20f2d66428db7ce836de3d35
C
4,180
101
/* 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...
04514f53ebac20e6757970111452f713e0879fda8dcc036755a922127c82dbed
C
4,181
126
/* 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...
ea739dd0d6eae6c7a7d751ee5f270a3445a5292223003d2cc127ed1b3df76b92
C
4,189
131
/* 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...
044dd3b9887eae47ba53a3ea86dee9e943510f0270e0dc6cc9a901b2ff95c90a
C
4,191
112
/* mcflp.c (convert minimum cost flow problem to LP) */ /*********************************************************************** * 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: ...
606c8862784734d319c8b99608b817fe91c918ea1450df5b6ebc8ce2e48c7204
C
4,196
120
#include "cs.h" /* allocate a sparse matrix (triplet form or compressed-column form) */ cs *cs_spalloc (CS_INT m, CS_INT n, CS_INT nzmax, CS_INT values, CS_INT triplet) { cs *A = cs_calloc (1, sizeof (cs)) ; /* allocate the cs struct */ if (!A) return (NULL) ; /* out of memory */ A->m = m...
4a49ca1a422dc74a8146e7e4839e95fbd69f181af68982cb2650fe1787916552
C
4,201
120
/* wrmcf.c (write 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 ...
32a150c314ff76988bf45d4f7dab489f20569758359fa7d7d7498acc432a2488
C
4,205
127
/* 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...
0a17eab4966ee23b0bd061c184846b0db8ed649a470a5f3fb68afb382a24e9e3
C
4,223
119
/* ========================================================================= */ /* === AMD_preprocess ====================================================== */ /* ========================================================================= */ /* ------------------------------------------------------------------------- */...