sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
1ebb58543ce7a59b437ede9d4c82e5ab11aaa2550db17da0d25705d188a29571 | C | 36,246 | 1,383 | /*<html><pre> -<a href="qh-set_r.htm"
>-------------------------------</a><a name="TOP">-</a>
qset_r.c
implements set manipulations needed for quickhull
see qh-set_r.htm and qset_r.h
Be careful of strict aliasing (two pointers of different types
that reference the same l... |
efefc1e28ee5113882da3880f303533da8a2c8ad205d573ba9e3b051405c7502 | C | 36,415 | 1,123 | /***** ms.c ************************************************
*
* Generates samples of gametes ( theta given or fixed number
* of segregating sites.)
* Usage is shown by typing ms without arguments.
usage: ms nsam howmany -t theta [options]
or
ms nsam howmany -s segsites [options... |
14d1c505b92fd527725ecfcf7c1aee353c1edd6f390f615ea9edcde2bc3fdd1f | C | 36,703 | 980 | /*
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 ... |
f7eb5961fdfed512c7ae54a4815ea49b1c4f96027b9ad1d4506638f34d41632f | C | 37,420 | 989 | /* -- 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... |
144f2657a95bfe75e25e3e8cc1f6194f27a2a9add5c3c390142a3eb17aacf76d | C | 37,558 | 1,148 | /* -- 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... |
135674f35fe8c57ebb840616541c7b61e16e174ab910fa2917a9ade521870c03 | C | 38,455 | 1,315 | /* minisat.c */
/* Modified by Andrew Makhorin <mao@gnu.org>, August 2011 */
/* May 2017: Changes were made to provide 64-bit portability; thanks to
* Chris Matrakidis <cmatraki@gmail.com> for patch */
/***********************************************************************
* MiniSat -- Copyright (c) 2005, Niklas S... |
f51fdcd29b4a66b9edad7ac1c9cae46b00f60bc2773992a2634d191d4e40a587 | C | 38,744 | 1,027 | /* lux.c (LU-factorization, rational arithmetic) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2013 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you ... |
cf23ac17b4d859c51fcf1fe924f9196d73328d56290c161b8622fdc11e1fb5c8 | C | 38,821 | 1,019 | /*
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... |
eee507880e899a15a2b0f6e693111601a4359697de14ba6b5c3a6468593f66df | C | 38,870 | 1,141 | /* glpipm.c */
/***********************************************************************
* 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 and/or modify it
... |
202195c23d0ca68f29334d1db6a1f5077f1a555acf5f8338777f7ff53d9825b5 | C | 39,010 | 1,389 | /* -- 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... |
0bd6b99bda72a8b284ec6f1e1f69b49dc2a99606f27b16de086af3c2c00ce9e8 | C | 39,802 | 1,148 | /*
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 ... |
e89a631462ea133293c9cf0c5c016765be1997afa3be9edb4a40bb9706a4bd3c | C | 39,863 | 1,008 | /*
igraph library.
Copyright (C) 2009-2025 The igraph development team <igraph@igraph.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... |
ab5259def1eb78260c5670e6b32e2adeb07f77089a9e86937197ab5c86bceb4d | C | 40,073 | 1,065 | /*
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 ... |
33cea3d8dea5c4566e9cfdafd3742fc79bc5b6b4e00c31ce249a7791b79e051c | C | 40,180 | 1,096 | /*
igraph library.
Copyright (C) 2005-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... |
cd4c74a7f5a1c9375c558134dd44ec3fc43fc0f40ec8f0a6d9795a9f5deee09a | C | 40,662 | 1,153 | /*
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... |
e3902570bb70541d4294dc9a492588c340ae6da365003dc10617bce65ba25720 | C | 41,167 | 1,105 | /* -- 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... |
c43c3390a45a678e945ab848a9d2ff9808fd3ee231497f93610fd9be80b9513a | C | 41,637 | 1,017 | /*
igraph library.
Copyright (C) 2012 Tamas Nepusz <ntamas@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
(at your option) any later... |
fc9da590d9811b7e76a444ea3aaa98f9fe53b6e83b0b8abf8d3074969199a5f8 | C | 41,812 | 1,197 | /*
igraph library.
Copyright (C) 2013 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either versi... |
fcb9189cd99029c04eed3437ecdd605bf9354203ed29186764c14cec576d812b | C | 42,377 | 1,012 | /*
* filename: main.c
* previous version: PPNM_SIM050913_1.cc
* change from previous version: Refactoring
* This program simulates centrosome positioning in one-cell embryo
* Unit meter, kilo-gram, sec
* to compile: make (see Makefile for detail)
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Fu... |
339b23ef4735ff40101755694935d820ad33aafb583a04d3f7ce0ca9114289b2 | C | 42,379 | 1,012 | /*
* filename: main.c
* previous version: PPNM_SIM050913_1.cc
* change from previous version: Refactoring
* This program simulates centrosome positioning in one-cell embryo
* Unit meter, kilo-gram, sec
* to compile: make (see Makefile for detail)
* Author: Akatsuki Kimura <akkimura@nig.ac.jp>
* Akira Fu... |
80ab9f3bea875f9e3e69d2b806fe3bf4c5d4b45b79eaac2c3f1da531c9c3f344 | C | 42,468 | 1,125 | /*
igraph library.
Copyright (C) 2005-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 later... |
6d4e11f050af3bafb9e6a55863a5abc6220eeb7a62c5f903cc1332d07883b8eb | C | 42,470 | 1,011 | /*
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... |
282ecb31e6e497d750c86a6bf1239629595782dd953b643950d9a88d32bbdf6c | C | 43,006 | 1,343 | /*just like streecGCHOT.c but allows for multiple geneconv hotspots*/
/* NOTE: track length must be entered by user as EITHER right or left length*/
/* compile with gcc -o msHOTmulti msGCHOTmulti.c streecGCHOTmulti.c rand1.c -lm */
/********** segtre_mig.c **********************************
*
* This subroutine uses a... |
ed74094831a2a1eb2c5ce819c283a3f62a7af7ecfd29f05cdb97273b443d02e7 | C | 44,068 | 1,431 | /* npp2.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
e1d2399194fd2249564c0272aa398fe92619535da3c70ef9def523f683a6123a | C | 44,410 | 1,376 | /* plfit.c
*
* Copyright (C) 2010-2011 Tamas Nepusz
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This ... |
2881eb267636b5e12a8f7f75161b6ea4dc4fb1bd5f0f06846545f5e67daf7181 | C | 44,655 | 1,281 | /* cplex.c (CPLEX LP format routines) */
/***********************************************************************
* 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 redistr... |
5445003e3ecf22732b11bee1b3b5ea64eb7d636ac8fb6b766a87d43f9d1a0aa7 | C | 44,981 | 1,072 | /*
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 ... |
e90aa38ac05c65c1162b255b2bd801478c0ef5bd73d2540e0fead1c8415e4b30 | C | 45,158 | 1,231 | /*
igraph library.
Copyright (C) 2020 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... |
4f644ffc864bd87d208eccb0da3555d25af8daa62609a6580147d63d89881597 | C | 45,293 | 1,525 | /***** ms.c ************************************************
*
* Generates samples of gametes ( theta given or fixed number
* of segregating sites.)
* Usage is shown by typing ms without arguments.
usage: ms nsam howmany -t theta [options]
or
ms nsam howmany -s segsites [options]
... |
a5c617ae3171a24b7247ab30c04621089eea720ef95190fb822cce38891a8d51 | C | 45,309 | 1,492 | /*
* Limited memory BFGS (L-BFGS).
*
* Copyright (c) 1990, Jorge Nocedal
* Copyright (c) 2007-2010 Naoaki Okazaki
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the... |
d8f537457a5055f6cc273af3e43a72089968aed9d3e42788a8343235dcc36d10 | C | 45,343 | 1,200 | /* mpl2.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
f3a221145193ec84bf9523e5cdde8eb5f28a8e005f4f875f22133ab001a73a8e | C | 45,989 | 1,224 | /*
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 ... |
341ef3047af8e77d2c6b1462a3bfd92ea6775e766c692c154b8d032d5741ce7a | C | 46,123 | 1,173 | /* -- 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... |
2ecc9d9b36ae966bae9f73d591f909c9639f0553438432670e4d6805d0f76a82 | C | 46,409 | 1,284 | /*<html><pre> -<a href="qh-geom_r.htm"
>-------------------------------</a><a name="TOP">-</a>
geom_r.c
geometric routines of qhull
see qh-geom_r.htm and geom_r.h
Copyright (c) 1993-2020 The Geometry Center.
$Id: //main/2019/qhull/src/libqhull_r/geom_r.c#5 $$Change: 2953... |
a58e92ddadc12a53a14512b50b236f4340ad77f85240d2a4b93d84cb373cc53b | C | 46,674 | 1,655 | /* mplsql.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2017 Free Software Foundation, Inc.
* Written by Heinrich Schuchardt <xypron.glpk@gmx.de>.
*
* GLPK is free software: you can redistribute it and/or... |
dfaf0032c029ddc88dc60a288da1a784f38d5626b10e266bb5573470a2848f06 | C | 47,068 | 1,424 | /* mpl4.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
9d44cd7411f02447fab735d1116e04ab9a364bbc60540661eea5b473b427e8b4 | C | 48,189 | 1,450 | /* mps.c (MPS format routines) */
/***********************************************************************
* 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: you can redistribute i... |
c63992528e8af8e3b30ce889bca523496a965a441c3c8c2d83ca0a8f46c2c864 | C | 48,567 | 1,326 | /*
igraph library.
Copyright (C) 2011-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... |
786de371f8018e4b2788b3f6e86859b117e2dc73ea72b3b63890796d223c923d | C | 48,668 | 971 | /*****************************************************************************
TVBii.c
The Virtual Brain
(c) 2017 - Michael Schirner
BrainModes Group
Charité University Medicine Berlin
m.schirner@fu-berlin.de
Licensed under the GNU General Public License 3.0 license.
********************************************... |
e5133b9651dcd7403f4b00de8864792a29083e9f46312b0fba4bbcacdfb19252 | C | 49,017 | 1,466 | /*
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 ... |
b212d79ad1610aa5235900b3a3819e5cdda7489d4aac52817317acc0866772cf | C | 49,249 | 1,868 |
/*
* This file contains the clique searching routines.
*
* Copyright (C) 2002 Sampo Niskanen, Patric Östergård.
* Licensed under the GNU GPL, read the file LICENSE for details.
*/
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
/*
#include <unistd.h>
#include <sys/time.h>
#include <sys/times.h>
*/
#i... |
5f920269fa85fc5186eac8cfaffe049b9e4d6b1c168124c39efe750cc8ff81f6 | C | 50,401 | 1,412 | /* npp4.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
02d9d20b54f58be75c782779203d374696667b517877ce95753aa9cf9d2d2b7a | C | 50,450 | 1,342 | /*
igraph library.
Copyright (C) 2003-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 ... |
a877e76db43144ad6f22784bcb64a3174d47deb6004b87352094ef9fac9a90e0 | C | 51,191 | 1,527 | /* mirgen.c (mixed integer rounding cuts generator) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2007-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: y... |
07c650a418f2f588a6ab2c705a8c82a4da081deb61c2945c6c3da2a748935a2a | C | 51,335 | 1,498 | /* npp6.c (translate feasibility problem to CNF-SAT) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2011-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: ... |
7e228d8a0b1e6ee2f18012a92b4991b36daa1c657d8c292ba1c837f9e0b51d56 | C | 51,378 | 1,235 | /*
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... |
391d1de71d0696f6a428be7a9f4080bf8e6318757b6c3a1df42b7507cc31b3e3 | C | 52,184 | 1,084 | /*****************************************************************************
TVBii.c
The Virtual Brain
(c) 2017 - Michael Schirner
BrainModes Group
Charité University Medicine Berlin
m.schirner@fu-berlin.de
Licensed under the GNU General Public License 3.0 license.
********************************************... |
8949e2d45160182691b85cfed2f857c898ab5b6bb8d547fc05db77d24cc8461b | C | 52,610 | 1,506 | /* glpios03.c (branch-and-cut driver) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2005-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistr... |
8ec7eba2c198acd75ea21399aaad5ff81ce8dc3104559b523f16febe5fcbe15f | C | 52,923 | 1,285 | /*
igraph library.
Copyright (C) 2022-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... |
f86194255a65eb2f73d588d278f8546a97e6b5d0799b24fcc51bd60b4d36e626 | C | 53,012 | 1,586 | /* prob1.c (problem creating and modifying routines) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2000-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: ... |
66eaf1fe9946895561768a25fea4161b42e4a590ac2764b416d7126c20fe544c | C | 53,289 | 1,310 | /*
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 ... |
83920956a75d62d6243c7ea5128bb4766b5661cd5817cf6809ba58802d3aa35e | C | 53,522 | 1,448 | /*<html><pre> -<a href="qh-poly_r.htm"
>-------------------------------</a><a name="TOP">-</a>
poly_r.c
implements polygons and simplices
see qh-poly_r.htm, poly_r.h and libqhull_r.h
infrequent code is in poly2_r.c
(all but top 50 and their callers 12/3/95)
Copyright... |
9e8a2d16c3b91ad8fb6cd5d3b06bd7e17fcb465d0ccf5ab8ddcf557cf1b81b55 | C | 55,022 | 1,686 | /* glpios01.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2018 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify i... |
a1e57c60d8ec40d6d17f9892c750040daddeb33d2ff0fd8ccbf146b297d8e9a9 | C | 55,554 | 1,533 | /*
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... |
c1ef795072a7b0f94898267b8099fca31ccc99b70349277c8f13bb1ab14b9fbd | C | 55,629 | 1,408 | /*
igraph library.
Copyright (C) 2007-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... |
97688d6a4acd795a623cf30252c41f608ff48b370b499895f6432b35e3d54f61 | C | 56,757 | 1,441 | /* sgf.c (sparse Gaussian factorizer) */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2012-2015 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistr... |
3d877b3eb9a96d9eab263ab173816779746d8fce0401e66f0a464bd16744f47e | C | 57,365 | 1,290 | /*
igraph library.
Copyright (C) 2005-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... |
90653bf2eb78526aebe81bbf9cc3943ed103db1bcd51a07e5bcad691a00cdb5d | C | 59,776 | 1,580 | /*
igraph library.
Copyright (C) 2010-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... |
93163504de16c152ce94bc2d1ccc73cece1b9ff5ee5c9b2b73678aabb1e26174 | C | 60,114 | 1,634 | /* vim:set ts=4 sw=4 sts=4 noet: */
/*
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
t... |
3b7fca306825673175baa230b73334e7d2bb252e6ed14e6cf2bbb4f30906dbd1 | C | 60,409 | 1,858 | /* spxprim.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it... |
06338eefd7e7ca84d0f85ffd13a11c4b98dacbfdfd103fafd12e144508db8859 | C | 62,221 | 1,610 | /*
igraph library.
Copyright (C) 2003-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 ... |
6630893ae5775d0cb6663ad2528aa28265cfab38269c0a491fda0ca8f7eb50cb | C | 62,900 | 2,424 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "msGeneralStats.h"
/* allocates space for gametes (character strings) */
void cmatrix_free(char **m, int nsam)
{
int i;
for(i=0;i<nsam;i++) free(m[i]);
free(m);
}
void imatrix_free(int **m, int nsam)
{
int i;
for(i=0;i<nsam;i+... |
2026d52f2d579ce86ea99b87f9cdb51466e021596305e3bd8d3a06a097f723df | C | 63,167 | 1,658 | /*
igraph library.
Copyright (C) 2005-2020 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... |
8b008907b843170d9d4cd45aa6ae9d9e16e01c1cee98365b158a2c1ec9049c37 | C | 64,896 | 1,505 | /*
igraph library.
Copyright (C) 2020-2025 The igraph development team <igraph@igraph.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at y... |
246680f0daca558ab2a5bf648e457696c1bb78461dcdd20dd2bfab02a7555f8a | C | 65,367 | 1,646 | /*
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... |
3e52895d2e74f883551f720a98bf1ae5dec388f4d76e2299afb1d69c02669e36 | C | 65,791 | 1,784 | /*
igraph library.
Copyright (C) 2008-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 ... |
d92252bac8292cc83137d5e8f369ece08bccf0bb76a6e5f292f51fcd920ea4bc | C | 66,136 | 2,048 | /*
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 ... |
998380dc4787aba9ed15246fd6e93695dea97df9c3c6d6f4c8dc7dd32906df64 | C | 66,592 | 2,336 | /*****************************
/ pgSummaryStats.c
/
/ A. D. Kern
/
/ popGen statistics for
/ sequenceMatrix objects
******************************/
#include "pgSummaryStats.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include "miscCode/vector.h"
#include "misc... |
d22d2262a5d7f6fd1ff9aa45e3de4966baf9015f23522ae3e7d46ec6253266af | C | 68,475 | 2,099 | /* spydual.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2015-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it... |
462b87297d7c9ac977aeac4b0957e6ccd09535e63c0e7061470445d5acfeb3b8 | C | 72,311 | 1,754 | /*<html><pre> -<a href="qh-qhull_r.htm"
>-------------------------------</a><a name="TOP">-</a>
libqhull_r.c
Quickhull algorithm for convex hulls
qhull() and top-level routines
see qh-qhull_r.htm, libqhull_r.h, unix_r.c
see qhull_ra.h for internal functions
Copyrigh... |
b38500da1b8b8f13544f7db38ae1754faa65a9bee3c84235cfa2d46435f4f2e7 | C | 74,258 | 2,229 | /*
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 ... |
37761932b5a091b27dc798194487a6f6104cda9745e66ac273c23df03e39f35a | C | 75,037 | 1,741 | /*
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 ... |
1cdf7bb0376b13ba2b3c39de888122f2e87b3e3434f483c2d50770670af303eb | C | 76,236 | 2,018 | /*
igraph library.
Copyright (C) 2005-2021 The igraph development team
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 version 2 ... |
308e84dff9c2f1ad310dc7355627007f5707dedc07edd2871bdc7154e03186bb | C | 77,098 | 2,302 | /*<html><pre> -<a href="qh-geom_r.htm"
>-------------------------------</a><a name="TOP">-</a>
geom2_r.c
infrequently used geometric routines of qhull
see qh-geom_r.htm and geom_r.h
Copyright (c) 1993-2020 The Geometry Center.
$Id: //main/2019/qhull/src/libqhull_r/geom2... |
efc962af843dddad33226b98e88be99d6d7b6484b67ce743e636d9acb8636c7c | C | 78,135 | 1,842 | /* ========================================================================= */
/* === AMD_2 =============================================================== */
/* ========================================================================= */
/* ------------------------------------------------------------------------- */... |
c63b3ca38af6aacacae664b036fdb547c37970052e8276f774c9aa1a9985f18b | C | 79,236 | 2,182 | /* glpapi12.c (basis factorization and simplex tableau 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 fre... |
49d5edbf9dd02b4bbe7834309366fd4c99a589a9b0ce976c4819a372a163e51f | C | 80,134 | 2,045 | /*
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... |
c8cdc39a61bf6cc79b90e22d75fb0cef28a657f18999ce3f1afb29543a420f38 | C | 83,766 | 2,268 |
/*<html><pre> -<a href="qh-globa_r.htm"
>-------------------------------</a><a name="TOP">-</a>
global_r.c
initializes all the globals of the qhull application
see README
see libqhull_r.h for qh.globals and function prototypes
see qhull_ra.h for internal functions
... |
8c853e4c79c241feaf5eed1f9aecdaefb0b58e418bc3f9fc61e573ca83864744 | C | 92,467 | 4,675 | /* mini-gmp, a minimalistic implementation of a GNU GMP subset.
Contributed to the GNU project by Niels Möller
Additional functionalities and improvements by Marco Bodrato.
Copyright 1991-1997, 1999-2022 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free softwar... |
7c9f38b072976357f5414280aff7fcad9726dadbe5c3bd94f74fd0cb04cc345a | C | 98,671 | 2,859 | /* npp3.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2009-2017 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
2f2b61f9eb7a85588081fec69f9531d3ae68d9d3cae691eb7a424f6aeb246c52 | C | 102,559 | 2,644 | /*
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 ... |
477233421dd55eb36aaf2674031294953169ceef4fdecb492578c70d9cb08529 | C | 102,798 | 3,251 | /*
igraph library.
Copyright (C) 2009-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 ... |
b1431c38ba398a2026b933e5edd82f4f2defba505cd9ebf1909c5a4e9d4a13b8 | C | 108,181 | 2,909 | /*
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 ... |
8d29ae1b6acc442a4d4a3f0d898fb4e07b32b53aa74caa5422b8d395fb5dacf7 | C | 126,972 | 3,622 | /* ========================================================================== */
/* === colamd/symamd - a sparse matrix column ordering algorithm ============ */
/* ========================================================================== */
/* COLAMD / SYMAMD
colamd: an approximate minimum degree column orderi... |
fc7a5bb319ee2208cb9103f6fa57a7a2d6dc5636ee13b8df6d3ed8af31b7e9aa | C | 142,120 | 4,128 | /*<html><pre> -<a href="qh-io_r.htm"
>-------------------------------</a><a name="TOP">-</a>
io_r.c
Input/Output routines of qhull application
see qh-io_r.htm and io_r.h
see user_r.c for qh_errprint and qh_printfacetlist
unix_r.c calls qh_readpoints and qh_produce_outpu... |
190500aa2168d5bd2cf8e7500c3d4b365cc3353ca3e25361cce5316dcd797465 | C | 158,378 | 3,959 | /*<html><pre> -<a href="qh-poly_r.htm"
>-------------------------------</a><a name="TOP">-</a>
poly2_r.c
implements polygons and simplicies
see qh-poly_r.htm, poly_r.h and libqhull_r.h
frequently used code is in poly_r.c
Copyright (c) 1993-2020 The Geometry Center.
$... |
6453f5685f26c53f79d1df6355fbd02c65abb5441df0f3c01662da2a9069e1dc | C | 175,615 | 4,716 | /* mpl1.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
18a417f6cefa63feda6c4342bd1fce8d6c58d00aa9a0b96b362bd710692ab285 | C | 195,740 | 2,936 | /*
igraph library.
Copyright (C) 2006-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... |
20e1a5a70a2728838b8bc9087a9f526f948e518f3985b9a21dfc5d542f139856 | C | 200,000 | 5,054 | /*<html><pre> -<a href="qh-merge_r.htm#TOC"
>-------------------------------</a><a name="TOP">-</a>
merge_r.c
merges non-convex facets
see qh-merge_r.htm and merge_r.h
other modules call qh_premerge() and qh_postmerge()
the user may call qh_postmerge() to perform additi... |
ce739fe1e8d6340be2df241d00a56d304f897f7bc6af482f8893cab8fd2e9e78 | C | 200,000 | 5,624 | /* mpl3.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
* Copyright (C) 2003-2016 Free Software Foundation, Inc.
* Written by Andrew Makhorin <mao@gnu.org>.
*
* GLPK is free software: you can redistribute it and/or modify it
* ... |
d441e671975aee2dc22c3ec438a3368d7a11a2c98d962604aea51c5720c1f2eb | C++ | 22 | 1 | #include "TileCache.h" |
683b56189371cb239430914e28d9025a77815cfb6725af2102d95dc675f2c993 | C++ | 24 | 1 | #include "ImageFilter.h" |
eab9b667c435c16ad6abae346e116fc7e0bcfe84df3527824eec717c2119c8c9 | C++ | 37 | 1 | #include "ColorDeconvolutionFilter.h" |
217a5d1526ee263ee9376943e6bfcc19e851ccb1961acfd4db1d9a349b25f739 | C++ | 131 | 8 | #include "CompositeChild.h"
namespace ASAP
{
CompositeChild::CompositeChild(QWidget* parent) : QMainWindow(parent)
{
}
} |
d6631c387048740ec674d190c276d3c713646eb9372eb5d214817fd88fffab2c | C++ | 131 | 10 | #include "Point.h"
Point::Point() : _x(0), _y(0) {
}
Point::Point(const float& x, const float& y)
{
_x = x;
_y = y;
}; |
c1eb9712a560b17e8949b0b57c9748667df034cb2f0150c02a3ffba6588cc963 | C++ | 144 | 7 | #include "TestData.h"
std::string g_dataPath;
std::string g_externalDataPath;
bool g_runTimeIntensiveTests;
std::string g_programPath;
|
0ec89e45d396951bb41b2bba61034073734709c85ed0c00ba6cd57de81a365b6 | C++ | 173 | 11 | #include "prpack_result.h"
#include <cstdlib>
using namespace prpack;
prpack_result::prpack_result() {
x = NULL;
}
prpack_result::~prpack_result() {
delete[] x;
}
|
f3e09fa9e39c34048ec49c6eacb91e9776c390117f39ca68ecc1070f46f4247c | C++ | 187 | 11 |
class WorkstationToolBarFactory
{
public:
WorkstationToolBarFactory::WorkstationToolBarFactory() { }
void initialize()
{
// create list of WorkstationToolBarButton
}
}; |
804693f8317fb23dd8dbc852746769fc6f6f300ff8f9d404642a0817af37107f | C++ | 235 | 13 | #include "ASAP_Window.h"
#include <QApplication>
#include <QStyle>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setStyle("windows");
ASAP_Window w;
w.show();
return a.exec();
}
|
4dfcb6b3eef6fa23dc3b4b3ba317a12769ea5595ba1b0689a68f800f771181d9 | C++ | 359 | 17 | #include "UnitTest++/UnitTest++.h"
#include "MultiResolutionImage.h"
#include "MultiResolutionImageReader.h"
#include "MultiResolutionImageWriter.h"
#include <iostream>
#include "core/filetools.h"
#include "core/PathologyEnums.h"
#include "TestData.h"
using namespace UnitTest;
using namespace std;
using n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.