Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/attractivechaos/klib
/ functions
Functions
383 in github.com/attractivechaos/klib
⨍
Functions
383
◇
Types & classes
57
↓ 15 callers
Function
kputsn
kurl.c:469
↓ 12 callers
Function
calloc2
khmm.h:97
↓ 11 callers
Function
sha1_add
kurl.c:345
↓ 11 callers
Function
test_kputl
test/kstring_test.c:30
↓ 9 callers
Function
kfree
kalloc.c:80
↓ 9 callers
Function
test_kgetline
test/kstring_test.c:57
↓ 8 callers
Function
kf_lgamma
Log gamma function * \log{\Gamma(z)} * AS245, 2nd algorithm, http://lib.stat.cmu.edu/apstat/245 */
kmath.c:268
↓ 8 callers
Function
test_kputw
test/kstring_test.c:19
↓ 7 callers
Function
__kh_h2b
khashl.h:101
↓ 7 callers
Function
ke_set_real_func1
kexpr.c:472
↓ 7 callers
Function
kftp_send_cmd
knetfile.c:233
↓ 6 callers
Function
check_rmq
test/krmq_test.c:42
↓ 6 callers
Function
kmalloc
kalloc.c:128
↓ 6 callers
Function
knet_seek
knetfile.c:531
↓ 5 callers
Function
fill_buffer
kurl.c:79
↓ 5 callers
Function
kftp_send_cmd
kopen.c:142
↓ 5 callers
Function
knet_open
knetfile.c:451
↓ 5 callers
Function
kurl_close
kurl.c:127
↓ 5 callers
Function
push_cigar
ksw.c:445
↓ 5 callers
Function
sha1_write1
kurl.c:354
↓ 5 callers
Function
sort4
test/ksort_test.cc:108
↓ 4 callers
Function
check
test/kstring_test.c:11
↓ 4 callers
Function
getBuckets
* Find the end of each bucket * * @param C occurrences computed by getCounts(); input * @param B start/end of each bucket; output * @param k
ksa.c:75
↓ 4 callers
Function
getCounts
Count the occurrences of each symbol */
ksa.c:57
↓ 4 callers
Function
ht_timing
test/khash_test.c:124
↓ 4 callers
Function
int2str
test/khash_keith.c:16
↓ 4 callers
Function
kftp_get_response
knetfile.c:204
↓ 4 callers
Function
knet_read
knetfile.c:503
↓ 4 callers
Function
kputc
knhx.c:110
↓ 4 callers
Function
kputsn
knhx.c:98
↓ 4 callers
Function
kputw
kstring.h:201
↓ 4 callers
Function
krealloc
kalloc.c:168
↓ 4 callers
Function
ks_getuntil
kseq.h:145
↓ 4 callers
Function
panic
kalloc.c:32
↓ 4 callers
Function
revseq
ksw.c:323
↓ 4 callers
Function
sort2
test/ksort_test.cc:68
↓ 4 callers
Function
sort3
test/ksort_test.cc:77
↓ 3 callers
Function
bgzf_flush
bgzf.c:391
↓ 3 callers
Function
bgzf_read_block
bgzf.c:328
↓ 3 callers
Function
check
test/krmq_test.c:21
↓ 3 callers
Function
insertSort
test/ksort_test.cc:293
↓ 3 callers
Function
kba_alloc
kbarena.c:62
↓ 3 callers
Function
ke_eval
kexpr.c:366
↓ 3 callers
Function
kftp_get_response
kopen.c:118
↓ 3 callers
Function
kgetline
kstring.c:109
↓ 3 callers
Function
kmemmem
kstring.c:176
↓ 3 callers
Function
knet_close
knetfile.c:572
↓ 3 callers
Function
ksprintf
kstring.c:27
↓ 3 callers
Function
mergesortInPlace
test/ksort_test.cc:511
↓ 3 callers
Function
prepare
kurl.c:53
↓ 3 callers
Function
rs_insertsort
test/ksort_test.cc:627
↓ 3 callers
Function
sha1_final
kurl.c:365
↓ 3 callers
Function
sha1_init
kurl.c:317
↓ 3 callers
Function
socket_connect
This function does not work with Windows due to the lack of * getaddrinfo() in winsock. It is addapted from an example in "Beej's * Guide to Network
knetfile.c:86
↓ 3 callers
Function
socket_connect
kopen.c:36
↓ 3 callers
Function
socket_wait
This function tests if the file handler is ready for reading (or * writing if is_read==0). */
knetfile.c:60
↓ 3 callers
Function
unpackInt16
bgzf.c:89
↓ 2 callers
Function
RadixSortInPlace_HybridUnsigned_Radix256
test/ksort_test.cc:770
↓ 2 callers
Function
__kmin_hj_aux
kmath.c:26
↓ 2 callers
Function
_kf_gammap
regularized lower incomplete gamma function, by series expansion
kmath.c:332
↓ 2 callers
Function
_kf_gammaq
regularized upper incomplete gamma function, by continued fraction
kmath.c:343
↓ 2 callers
Function
_rotate2
two consecutive rotations: (a,((b,c)r,d)q)p => ((a,b)p,(c,d)q)r */
kavl-lite.h:100
↓ 2 callers
Function
add_node
knhx.c:12
↓ 2 callers
Function
bgzf_read_init
bgzf.c:102
↓ 2 callers
Function
bgzf_write_init
bgzf.c:115
↓ 2 callers
Function
bt1_pop64
from bowtie-0.9.8.1
test/kbit_test.c:8
↓ 2 callers
Function
check
test/kavl_test.c:17
↓ 2 callers
Function
compute
test/kthread_test.c:16
↓ 2 callers
Function
deflate_block
Deflate the block in fp->uncompressed_block into fp->compressed_block. Also adds an extra field that stores the compressed block length.
bgzf.c:172
↓ 2 callers
Function
ht_timing
test/kbtree_test.c:80
↓ 2 callers
Function
induceSA
Induced sort */
ksa.c:83
↓ 2 callers
Function
ketopt_permute
ketopt.h:27
↓ 2 callers
Function
kf_betai_aux
Regularized incomplete beta function. The method is taken from * Numerical Recipe in C, 2nd edition, section 6.4. The following web * page calculate
kmath.c:381
↓ 2 callers
Function
kftp_connect
knetfile.c:269
↓ 2 callers
Function
kftp_connect_file
place ->fd at offset off
knetfile.c:318
↓ 2 callers
Function
khttp_connect_file
knetfile.c:405
↓ 2 callers
Function
kmp_add_chunk
kmempool.c:20
↓ 2 callers
Function
kputs
kstring.h:149
↓ 2 callers
Function
kr_rand_r
krng.h:16
↓ 2 callers
Function
kr_splitmix64
krng.h:8
↓ 2 callers
Function
ks_mergesort
test/ksort_test.cc:923
↓ 2 callers
Function
kson_by_index
kson.h:58
↓ 2 callers
Function
kson_by_key
kson.h:46
↓ 2 callers
Function
kson_destroy
kson.c:111
↓ 2 callers
Function
kson_format
kson.c:186
↓ 2 callers
Function
kson_parse
kson.c:121
↓ 2 callers
Function
kstrtok
kstring.c:37
↓ 2 callers
Function
ksw_align
ksw.c:330
↓ 2 callers
Function
ksw_qinit
* Initialize the query data structure * * @param size Number of bytes used to store a score; valid valures are 1 or 2 * @param qlen Length of t
ksw.c:58
↓ 2 callers
Function
kt_for
kthread.c:48
↓ 2 callers
Function
kurl_read
kurl.c:219
↓ 2 callers
Function
mergesortExchange
test/ksort_test.cc:479
↓ 2 callers
Function
mode2level
get the compress level from the mode string
bgzf.c:127
↓ 2 callers
Function
my_netread
knetfile.c:182
↓ 2 callers
Function
packInt32
bgzf.c:94
↓ 2 callers
Function
print_cmd
test/ketopt_test.c:17
↓ 2 callers
Function
rs_sort
test/ksort_test.cc:584
↓ 2 callers
Function
shuffle
test/krmq_test.c:88
↓ 2 callers
Function
shuffle
test/kavl-lite_test.c:17
↓ 2 callers
Function
shuffle
int print_tree(const struct my_node *p) { int c = 1; if (p == 0) return 0; if (p->head.p[0] || p->head.p[1]) { putchar('('); if (p->head.p[0])
test/kavl_test.c:58
next →
1–100 of 383, ranked by callers