sha256
stringlengths
64
64
language
stringclasses
27 values
size
int32
1
491k
lines
int32
1
21.8k
content
stringlengths
1
200k
93e41c025101d3ab092a2f5b2c1bb978fcb74b68fcef9a781249e1749f98eb4c
C
2,259
76
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
45095f7d43260416a9940f44e879a6f2afe242fefb5d6d4cd9c5a17ea696a855
C
2,261
85
#include "../verrou.h" #include <stdio.h> #include <math.h> #define NUM 20 float computeMaxFloat(float dat, float(*func)(float) ){ float maxValue=0.; for(int i=0; i< NUM; i++){ float value= func(dat) - func(dat); if(value<0){value=-value;} if(value>maxValue){maxValue=value;} } return maxValue;...
9f84907fb7d983047d8fd611eae4531a706b4d0c21c02ce93fad70dbbe9bca5b
C
2,262
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
e194cbc7fad8e8aff217aa2a09670a214709cc0601aa3f97d2944a595a040a97
C
2,265
60
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
66e04ba8e2ba91a76b1b84967f801fa414d59f27b4697af89724a9a7f4c6a644
C
2,270
58
#include "cs_mex.h" /* cs_sparse: convert triplet form into compress-column form sparse matrix */ void mexFunction ( int nargout, mxArray *pargout [ ], int nargin, const mxArray *pargin [ ] ) { if (nargout > 1 || nargin != 3) { mexErrMsgTxt ("Usage: A = cs_sparse(i,j,x)") ; } if ...
40a28400a468f2003a5569fc9f8b201692ce74ad9013a6bf009cc08105ceef32
C
2,272
93
#include <stdio.h> // Prototypes des fonctions BLAS et LAPACK extern void dgemm_(const char *transa, const char *transb, const int *m, const int *n, const int *k, const double *alpha, const double *a, const int *lda, const double *b, const int *ldb, const double...
989f06eb2cac4ab4744e91af886cb9cd24889d24cdf0b32001566a032129e33c
C
2,272
66
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
a3fb56fe50470f2b3aa6077836e7f829da3ba4cd2f23c24dce6368c7a593877f
C
2,273
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
603dcbfd42e2b1ce2dbbacb16a9176b644342d7abc73f257e3cf3f1d7ea8f94f
C
2,274
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
5311bfd348c755377874c8dac2c497440c9ac3ef10769e3f9de2101f54e91c88
C
2,281
67
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
1bd0d9f91719efa856e43bf4da945ef8856fca090d627bbc83365bdc6728e962
C
2,283
78
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\...
2d5e680bb55977d2618d4a969cfc6a0f13e377d8db9a95f581b273708ddff892
C
2,283
75
/* edwFixTechRep1 - Parse edwFile.tags and if there's technical_replicate or paired_end add * it to edwValidFile.. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #incl...
57dcf819ab3390cf026fe1b7580d8194f465fe9af28a773307ea8eb6d18dfa65
C
2,284
60
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
ef347132bc707881b173d3fa4569507437eb899bb92cd33339a68c1ee6ddbfbf
C
2,284
74
/* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hdb.h" #include "jksql.h" struct slName *chromNames = NULL; char *dirName = NULL; int chunkSize = 0; void usage() { errAbort("nmerPa...
10b59a931fc4c559ec9bac2f144a21fd6adda3674e169148d603c2aa82ba0e51
C
2,288
82
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
920e2f06d51714d5d943baa6c84e9e4baa5658b91c6b2d5d242c1d658ac1f606
C
2,288
61
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
b604f2d317eca3c3292ad3dd101e38249d9a8b834011044f6eead9c982dcd0d8
C
2,290
72
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
ced9441996492e197f77d2808380701dc098e71d0e19a2d139b179eb198f3de6
C
2,290
72
/* htmlFromBeds - htmlFromBeds - This program creates a web page with a series of hyperlinks to the beds in the bed track. This is useful when a bed track is sparse and you want to just zoom to items instead of scrolling around.\n. */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICEN...
eb40b1c14faaab44808ddc8c8542d1f323f69208960719112689d46a86465f4e
C
2,291
60
/*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "unistd.h" /*****************************************************************************/ #include "tpcextensions.h" #inclu...
fc9f5caffd1a73b0e0051d41b6ab5205ca95390dac9cc3f701dcfc2162e1973c
C
2,292
59
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
3115e9196bf12fb121d3d2838d7ba79db40416982dbb9f4e50cb3e97db265b09
C
2,293
92
/* function [assignment, cost] = assignmentsuboptimal2(distMatrix) */ #include <mex.h> #include <matrix.h> #define CHECK_FOR_INF #define ONE_INDEXING void assignmentsuboptimal2(double *assignment, double *cost, double *distMatrix, int nOfRows, int nOfColumns); void mexFunction( int nlhs, mxArray *plhs[]...
d195c3975d7b1e3dd91eb94c0adb1e18f0bd89ca4a4545ea73acf29f0f0edbec
C
2,296
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
7c36dced752b6d6aa4264ba14ad9008756c6e9c8c9d4d39d448a818778437922
C
2,297
73
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\...
1a8815e8e6ec0b277bc8d733a8e83444ad94b5d5e8b55ff9119e1a6eaf672dfb
C
2,298
99
/* fullalte - Extracts full 3' end of intron based on a fragment. * Used to fill out alt-splicing intron before skipped exon data * set, which originally only had last 50 bp of intron. */ #include "common.h" #include "dnautil.h" #include "dnaseq.h" #include "fa.h" struct faSeq { struct faSeq *next; struc...
858a7509074d18bab5c3bdc7b2e8ac9d857e7495426c5c5b02fc170e0a65746b
C
2,299
78
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation \\...
72c96cd8d43e81379e1e40a0313dd8bf118e4f7b292818b019385deb663ddb7c
C
2,301
72
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
678330b3a89f4f3b6bf778c408bdc9ac5285800d1652a1b34025592ba55bb7d9
C
2,305
109
/* This program retrieves one (or actually a few) records from a GenBank * file. */ #include "common.h" #include "linefile.h" void usage() /* Explain usage and exit. */ { errAbort( "gbOneAcc - retrieve one or a few records from a GenBank flat file.\n" "usage:\n" " gbOneAcc gbFile acc(s)\n" "The output will be prin...
3e8a4cbf9459152b081213cbe4f15eac6a85fad7b7fdbc1a4b347818e2b5022f
C
2,308
94
/* CrossCorr * Cross-correlation function * MEX file * * martin vinck 2010, adapted from Francesco Battaglia's crosscorr script * * input: t1, t2: two time series to cross correlate in seconds * Important: the timeseries should be sorted! * binsize: the binsize for the cross corr histogram in seconds ...
15db05e5c66a3659b2302af0bbcdbb3e1cef9c9cdd060926e3c9ca600d86e8cb
C
2,309
72
/* edwWebCreateUser - Allows one user to create another - vampire mode - over web.. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h"...
c4ec0a33fd65ef12cb7b106f361904242fee1c922a151a67a6bfd72bd30f6777
C
2,309
77
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
0494d4ab3992240834806e64164c6d3469a58d050820c57ce6fdd6552cee1901
C
2,310
78
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation \\...
7c76b2c48a63e3e199de065be2b49aaedd0814d4564ebd78c322e4c14c024f54
C
2,310
95
/* NewAlts- make a list of new alt-spliced genes. */ #include "common.h" #include "hash.h" #include "ascUtils.h" struct altSpec *weedAlts(struct hash *weedHash, struct altSpec *altList) { struct altSpec *newList = NULL; struct altSpec *alt, *next; alt = altList; while (alt != NULL) { next = alt->next; ...
4529799b0dc3ba1bb944dafa0c57a01b7ababdd006a85894682eda08f9424cf9
C
2,312
70
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
3b5c5dc0f55775911d4a876442ae5b0da6975be66f81a40b289ac384e50d1f41
C
2,314
76
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
bc90ef2d3098c955149772295933675110f7f7374f843756ec2b59d2bb5aacb6
C
2,314
114
/* test of the JSON output code */ #include <stdio.h> #include "output/doc.h" #include "output/doc2.h" #include "common.h" #include "errAbort.h" #include "linefile.h" #include "obscure.h" #include "dystring.h" #include "cheapcgi.h" #include "asParse.h" #define NUMPOINTS 3 #define NUMFACES 2 int main() { int i, ...
df3d1a2a9bf6e275cd0f1a3c795bac5d3922b84357b90fa14cfe60f15a74c4f8
C
2,314
69
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
bca1508978c6436b643158c0ac558d32502adde461f9c1285eb3cfe3a5c7634a
C
2,317
63
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
d1120505f1cda065b640ee75ec48c8ee10d3481d8784d4b007d6453aa63372ed
C
2,317
77
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2013-2018 OpenFOAM Foundation \\...
56448378a4ee844e31c1e5ab87a44885ad3c4efaee9204038998422b65ee64e2
C
2,318
82
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
a813164e2f3a93290589f36d5f662b58df8ce13c60cfe867bd8a346830b97343
C
2,318
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation \\...
d8e46d4b3b23154f99a5efbe555bc68f36ec2f969bcdaca91782bea615a710ca
C
2,318
77
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
f46c73ea187442801565888ea5a52d02c6e7e809b1a40fc41f5d5c55a16c9c07
C
2,325
73
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\...
83336999636e1f16bf5bcbd345739e392b5062b196a026c5bb668039a46e35be
C
2,328
76
/* cdwFixInvisibleIndexFiles - Bring in invisible index files.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "portable.h" #include "jksql.h" #include "cdw.h" #include "cdwLib.h" void usage() /* Explain usage and exit. */ { errAbort( "cdwFixInvisibleIndexFiles - Bring i...
e935bb07c70850a5f0c44cab3dc2cd6ec176edc002a0b8d005a08ff65bfa174e
C
2,330
78
/* cartReset - Reset cart. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "cheapcgi.h" #include "htmshell.h" #include "hui.h" #include "cart.h...
ff2b51802395f5dd1cb2ec4ce2f7a1c6db4a04f78dfeaa9ac9ca0171760a1c2a
C
2,331
59
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
467787959acc3cfa2f0e69db3fa888869f6951c9ffb849d6ce42454b23636c13
C
2,332
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
1f4030034e36982df270fbe55bba69aa9b4145ade916e531730f5f84905c208f
C
2,333
100
/* facetFieldTest - test facetFields. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "dystring.h" #include "cheapcgi.h" ...
d5a5f4507e72ac614ba687abad6df577174e6cf67fdda39462609d3bb570365f
C
2,338
82
/* Regression test: --inst-func on a function declaring a variable-length * array used to segfault. * * Clang brackets a VLA with a llvm.stacksave / llvm.stackrestore pair. The * function instrumentation pass moved the llvm.stackrestore call into an * out-of-line hook function, where it rewound the stack pointer p...
72f394bd99adfee55390a265db0e888defc0f23c67424f0d9ee93315f92c7e0c
C
2,342
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
8ae6db5179dbd2c02cfd01e0215d6b066e6502b2fb6829dee9547d9c744153b9
C
2,342
68
/*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "tpcextensions.h" #include "test_tpcnifti.h" /*************************************************************************...
6f020898ff7b63dde424bd91ef8dac3d36c49992908de01b3be2e5232d7ceb8d
C
2,344
81
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
1a0158ce4dea66869a20154fda20097065987efe562ec8a014d74880d782a66d
C
2,347
67
#include "cs_mex.h" /* cs_add: sparse matrix addition */ #ifndef NCOMPLEX static cs_complex_t get_complex (const mxArray *a) { cs_complex_t s = mxGetScalar (a) ; if (mxIsComplex (a)) { double *z = mxGetPi (a) ; s += I * z [0] ; } return (s) ; } #endif void mexFunction ( int nar...
4e7552f151f5353f98c1bcb22e3ac834ed192cff358c0e8ca952b9031b4a3ffb
C
2,347
80
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
ed04f3cfee413bfdfd4bd7acc25a6804b14302509918d9f5b810e2fd25bdac91
C
2,347
79
/* Module for SwitchGear Genomics tracks. */ /* Copyright (C) 2010 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hgTracks.h" #include "switchGear.h" struct slList *switchDbTssLoadConduit(char **row) { re...
7dbf26246ba9e04975d4bacc1211e3bd2482ef4bfddd261a896795c52253af23
C
2,350
89
/* interflop_call(INTERFLOP_ROUND_DW_ID, ...) must round the double-word * number x + e with PRISM's mode, virtual precision and random state. * * Usage: * test tie - x = 1 + 2^-10 is a tie at t = 10; prints the result for * e = -2^-60 and e = +2^-60 (run with --mode rn) * test sr64 N ...
00fecac6feba03fb9e92acf2bbd7515294534d1a2521d1f972ee88834e4b06f5
C
2,354
62
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
b83c48aca6893a1af68747270b66bf7af25d1b451cd5f51ac7a06851706eeb94
C
2,355
79
/* Copyright (C) 2015 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ /* hgGtexApi - a web API to selected GTEx resources * * usage: http://hgwdev-kate.gi.ucsc.edu/cgi-bin/hgGtexApi?gene=ENSG00000223972.4 * * returns JSON in the for...
e49e5135b4f3b7c14cf6e64834cb486706c7420b684dc89600f60bfe9a76f28d
C
2,357
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
76f68211b8c57e54865b4993138fa4b1d54053369202c94638445a6216135162
C
2,361
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
14cd583c90d583c264606a99853e248c5b9d3ec65de1f5ae1cc6329f6ef12900
C
2,362
78
/* encode2Md5UpdateManifest - Update md5sum, size, validation key in an * encode2 manifest.tab file.. */ /* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h"...
4aa189fd048b8f5a2da35d217ad7801a26a0eaa1ba35f4785812085240c9a74f
C
2,363
82
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
8a7f953b30dca371ea1b836df0cb11ce7470f57406c20525e4188f79cc9041cb
C
2,363
101
/* Convert calls to older style library */ #include "common.h" #include "../compiler/pfPreamble.h" extern void pf_print(_pf_Stack *stack); void print(_pf_Stack stack) /* Print out single variable where type is determined at run time. * Add newline. */ { pf_print(&stack); } struct _pf_object *vaTupleToClass(struct...
8de1bf4725fe661808599e35f134e0d1c259f9fbb222002b5442525d6a85ad2b
C
2,369
102
/* wiggle - stuff to process wiggle tracks. * Much of this is lifted from hgText/hgWigText.c */ /* Copyright (C) 2011 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "hash.h" #include "linefile.h" #include...
359b76f990847a4a3e7733525cecc607055b19553db0ad1440ed7615404ffb8d
C
2,371
77
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
c2f977c2e032257c8ec7f04e20df35b44ca3affcbf400903c7ee7e1eb09daf3e
C
2,371
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
abb32e926a342a368ec18c6c87a0942bf9f317e83239e4050d8f259380b12245
C
2,376
118
/* Adapted from http://www.astro.umd.edu/~dcr/Courses/ASTR615/ps2sol/node1.html ** kahan.c ** ======= ** Computes sums using the Kahan correction algorithm. */ #include <stdio.h> #include <stdlib.h> /* for rand() */ #include <unistd.h> /* for getpid() */ #include <time.h> /* for time() */ #include <math.h> #include <a...
76e018604853b684d8d6842b5f42b630c478f848ae1b0771e5863404fb816a45
C
2,382
83
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
f5be51a43663b3102ba356172852090ce9083698362041f7252d15d4b5f3097b
C
2,382
65
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
144075690a452fa20e68f8129286d6a7425c61932671df33349d429e85013054
C
2,384
74
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
049a435d5ff5337e0bdb1c5556ff36b916db7a60eb3d23568c2ce942467b2428
C
2,386
63
/** @file backup.c * @brief Functions for file backup. */ /*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "tpcextensions.h" /*************************************...
5546c24a29318e954861f2536c76289c978845be3775e4bcb60309a75dd699a7
C
2,386
74
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
ee781cf1f79a682a5952bac016335d4fbedf900c9ff54a6b2f74c26adb6c594d
C
2,387
76
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
b31d59186cfa7e966a940798050f7938b854dbcfd10bdc19bb7205c4fb8c341b
C
2,389
88
/* motifLogo - Make a sequence logo out of a motif.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "portable.h" #include "dystring.h" #include "dnaMotif.h" #include "dnaMotifSql.h" char *tempDir = "."; char *gsExe = "gs"; void usage() /* Explain usage and exit. */ { er...
c97b6d36eef56498ef5d7bf090011039924d66904816467c1f2c0c083655609d
C
2,389
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation \\...
4d4b74a5a5a957ee11780c764e8a109043105b0be844e6a7f331590f16f58377
C
2,395
60
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
95f1c2913f8ead80b444f2b4095a167eac9f1202f4112544180498354c849d76
C
2,395
60
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
196a53be9c22f77e4c0cb6b3fbc08d9a933a02f492860babf68d2ca77ce551fa
C
2,399
89
/* bedThickToCds - Create CDS predictions in RNA coordinates from thickStart/thickEnd * of BED file. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "bed.h" void usage() /* Explain usage and exit. */ { errAbort( "bedThickToCds - Create CDS predictions in RNA coordinate...
3d2a6f15c0d6869cce79f8920f6407658d5d59d290c30be3f26552f858647ee8
C
2,399
76
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2017-2018 OpenFOAM Foundation \\...
cd2aca557fb144db4c552abdcd6eae295d36ead0f39e7c60c58388d07df981ed
C
2,399
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
be4168c51abbe6b7facce87f619e09605bba66cab88a7c54eb822d01384a333c
C
2,400
75
/* Copyright (C) 2013 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "cheapcgi.h" #include "hgTrackUi.h" #include "trackDb.h" #include "cgapSage/cgapSage.h" #include "cgapSage/cgapSageLib.h" static struct s...
28cf1f6c44285e8647122700a5719e6b7b5fd1b31693b52f635785703e467063
C
2,403
93
/* hcaAddSrrFiles - Add srr files to a HCA tagStorm as a files[] array in assay.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "tagStorm.h" #include "csv.h" /* Global vars */ int gSrrCount = 0, gFileCount = 0; // Keep track of number srr tags in and files out */ void u...
025415f5141f768b1439d78fd9ad93852638471624dc0ad75a7c39da883938c1
C
2,404
88
/* Written in 2018 by David Blackman and Sebastiano Vigna ([email protected]) To the extent possible under law, the author has dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See <http://creativecommons.org/pub...
6846058ef1c84745e5d760e26df34858305801f0c5be12236967669c7a90ed88
C
2,406
85
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
8e0da3c71cc534b296f78a8cd9671cbe9a708ee673c65c5845dcaa51823ebbc4
C
2,406
70
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
e92c3c695e418f886f6616a59102a1a38b0e5af1ca1506033603b581cd8c92be
C
2,407
88
/* Written in 2019 by David Blackman and Sebastiano Vigna ([email protected]) To the extent possible under law, the author has dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. See <http://creativecommons.org/pub...
161ff4afa1306300a71b4a22c5ebf4e5bf3d771b7adaf6918d08b58bf10a8c18
C
2,409
78
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
29df6bb7bce78f4646283b0f6867cfe5b2a949423bce39101b3e199c2f15f8e7
C
2,410
86
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
41d2157a5ebd9c7f13d7002576f25007082bfba0ff29c01130c07504cd7ddb09
C
2,411
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
30d381b19d325c6c2b14d32708387cbf7909e9e8f879643cdcaeecffaa4c3a37
C
2,412
76
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
74e3219dbe024b6dc78eb6b46b38fdbb09f42230c0050dafff4f620758b98ddc
C
2,412
79
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
22e27b8514d10f32577a03ad0f3c6e1e124eeda2d07e8832fa0670377f1268e6
C
2,413
112
/* Check symmetry */ #include "common.h" #include "linefile.h" #include "psLayHit.h" void usage() /* Print usage and exit. */ { errAbort("chkSym - checks alignment for symmetry\n" "usage:\n" " chkSym file.psl"); } int perfectCount = 0; int okCount = 0; int badCount = 0; boolean areClose(int a, int b...
3804fde7129e0c4f9a3e1141eb066c1b9e8de15a47c7ae292d6948d1c4f6cbcd
C
2,413
75
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
cdd2d91df3a5414187eec089f771ba48f3e86c19b533c489a1f62179748c0b3a
C
2,414
78
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
0859cad611b3809b09397719957f2de4e17c1b3d13884838fcdd2277ec5fb50f
C
2,415
82
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2014-2018 OpenFOAM Foundation \\...
b2906abb895709a2bfdab818e0b5611db17bc1aca5cf70fff61287165389d93e
C
2,415
80
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\...
98d631c135f625c877c09cd9ef75fee443be3aa545a0a030372b33a13e379df2
C
2,417
66
/*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "tpcextensions.h" #include "test_tpctac.h" /***************************************************************************...
adbc381074493318ec585fa8f7764ef770ed4315db80f170cd6d1e5c27a0a639
C
2,421
79
/* PANDAseq -- Assemble paired FASTQ Illumina reads and strip the region between amplification primers. Copyright (C) 2011-2012 Andre Masella This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Fou...
176ebb4bc1a427992348e9dc6256d5a20604ca74db206af2d1c2922f2b81db0a
C
2,425
66
/** @file tacname.c * @brief Working with TAC names in TAC structure. */ /*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "tpcift.h" /************************************...
3f22ccdd65f3ff9238ada8b38a8fa3e78bf4d3c0dbadc5b7ac58dd555256d985
C
2,426
70
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2015-2018 OpenFOAM Foundation \\...
36247f21c35c06878f42b48ea63a06c01eda5e8afd17678f6324aa8671fc7d5a
C
2,428
66
/*****************************************************************************/ #include "tpcclibConfig.h" /*****************************************************************************/ #include "tpcextensions.h" #include "test_tpctac.h" /***************************************************************************...