MCPcopy Create free account

hub / github.com/dgryski/trifles / functions

Functions595 in github.com/dgryski/trifles

↓ 44 callersMethodString
()
allten/allten.go:55
↓ 43 callersMethodScan
()
simhash/scanners.go:8
↓ 37 callersMethodIntn
Intn returns a uniform random integer [0,bound)
fastrand/fastrand.go:20
↓ 26 callersMethodGet
(key []byte)
mpush/main.go:185
↓ 23 callersFunctionbenchmarkHash
(b *testing.B, str string, h func([]byte) uint64)
hashbench/bench_test.go:156
↓ 22 callersFunctionnext
(scanner *bufio.Scanner, n *big.Int)
mtest/main.go:120
↓ 21 callersFunctionbenchmarkSearch
(b *testing.B, limit int, search func([]int, int) int)
interp/interp_test.go:25
↓ 21 callersFunctionf
(x float64)
numerical/integrate_test.go:9
↓ 20 callersFunctionbenchmarkInsertSome
(b *testing.B, size uint32, creator func(int) Inserter)
strtable/strtable_test.go:50
↓ 18 callersMethodWrite
(w io.Writer)
wasmfuzz/main.go:103
↓ 17 callersMethodBytes
()
simhash/scanners.go:9
↓ 15 callersMethodSet
(key string, value interface{})
cachetest/slru/slru.go:36
↓ 15 callersFunctionbenchmarkInsertAll
(b *testing.B, size uint32, creator func(int) Inserter)
strtable/strtable_test.go:78
↓ 13 callersMethodallow
(s string)
cachetest/main.go:416
↓ 11 callersMethodErr
()
simhash/scanners.go:10
↓ 10 callersFunctionbenchmarkInts
(b *testing.B, n int)
stablepart/bench/bench_test.go:8
↓ 10 callersFunctionbenchmarkMove
(b *testing.B, n int)
stablepart/bench/bench_test.go:28
↓ 9 callersMethodInsert
([]byte, uint32)
strtable/strtable_test.go:13
↓ 9 callersMethodpop
()
allten/allten.go:47
↓ 8 callersFunctionMatchBloom
Lookup checks the bloom filter for the byte array b
matcher/bloom.go:49
↓ 8 callersFunctiongetLongerString
(s string, length int)
cachetest/main.go:425
↓ 7 callersMethodpush
(t T)
allten/allten.go:43
↓ 6 callersMethodDecRef
(b []byte)
udprelay/main.go:46
↓ 6 callersFunctionXorshiftMult64
64-bit xorshift multiply rng from http://vigna.di.unimi.it/ftp/papers/xorshift.pdf
branchfree/select_test.go:74
↓ 6 callersFunctioncompare
* func encodeFrameList(numbers [SIZE]int) []uint8 { // first, turn numbers into a bitset var bitset []uint8; n = 0; state = enum { ZEROS
intset/intset.go:376
↓ 6 callersFunctioncompareRegions
compare-exchange two regions of length offset each
shellsort/shell.go:43
↓ 6 callersMethoddel
(parent *Node, val int)
threadtree/threadthree.go:86
↓ 5 callersMethodNext
Next returns the next random number
fastrand/fastrand.go:12
↓ 5 callersFunctiontestInsert
(t *testing.T, which string, creator func(int) Inserter)
strtable/strtable_test.go:23
↓ 5 callersMethodwalkIn
(f func(*Node))
threadtree/threadthree.go:204
↓ 5 callersMethodwalkLinkReverse
(f func(*Node))
threadtree/threadthree.go:278
↓ 4 callersMethodLen
()
gddo/gddo.go:25
↓ 4 callersMethodString
()
wasmfuzz/main.go:47
↓ 4 callersFunctionget
(url string, jsr interface{})
gddo/gddo.go:29
↓ 4 callersFunctionleveldbHash
leveldb's bloom filter hash, a murmur-lite
strtable/strtable.go:87
↓ 4 callersFunctionmin
(x, y uint64)
branchfree/select.go:21
↓ 4 callersFunctionnlz
(x uint32)
intset/nlz.go:3
↓ 4 callersFunctionrdtsc
()
numerical/rdtsc.go:3
↓ 4 callersFunctionroll
()
jolly/main.go:85
↓ 4 callersMethodround
()
tsip/go/tsip.go:12
↓ 4 callersFunctionsipround
(v0, v1 Register)
tsip/go/asm.go:13
↓ 4 callersMethodswapPlayer
()
beggar/main.go:46
↓ 4 callersMethodwalkLink
(f func(*Node))
threadtree/threadthree.go:262
↓ 3 callersFunctionReverse
(d sort.Interface, f, l int)
stablepart/stablepart.go:37
↓ 3 callersFunctionSearch
modified from http://data.linkedin.com/blog/2010/06/beating-binary-search
interp/interp.go:6
↓ 3 callersFunctionU8TO64_LE
tsip/tsip.c:5
↓ 3 callersMethodadd
(val int)
threadtree/threadthree.go:43
↓ 3 callersFunctionbigintCreate
()
bigintfuzz/main.go:112
↓ 3 callersFunctionbigintFormat
(a *C.bigint)
bigintfuzz/main.go:134
↓ 3 callersFunctioncheck_tree
(b *BinTree)
threadtree/threadthree.go:303
↓ 3 callersFunctionfastMin
(x, y uint64)
branchfree/select.go:11
↓ 3 callersFunctiongoFishing
(what string, match func(s string) int)
fsmdemo/main.go:30
↓ 3 callersMethodgrowing_tree
(self, choice_strategy, removal_strategy)
maze/maze.py:54
↓ 3 callersFunctionhammingDistance
(v1 uint64, v2 uint64)
simhash/simhash.go:47
↓ 3 callersFunctionlog
(op string, a, b, c *big.Int, s string)
bigintfuzz/main.go:105
↓ 3 callersFunctionmax
(a, b int)
lz/lz.go:101
↓ 3 callersMethodmoveHome
(player int)
oma/main.go:43
↓ 3 callersFunctionreverseInts
(d []int, f, l int)
stablepart/bench/part.go:32
↓ 3 callersFunctionsimhashString
(s string)
simhash/simhash_test.go:10
↓ 3 callersFunctionstablePartitionMove
(array []int, sz int, p func(i int) bool)
stablepart/bench/part.go:39
↓ 3 callersFunctiontrapezoidIterativeHelper
(start float64, end float64, steps int, fp func(float64) float64, oldEstimate float64)
numerical/integrate.go:58
↓ 3 callersFunctionvint_encode
(enc []uint8, n uint32)
intset/intset.go:16
↓ 2 callersMethodAddRef
(b []byte)
udprelay/main.go:40
↓ 2 callersMethodAlloc
(size int)
udprelay/main.go:33
↓ 2 callersFunctionFoRDecode
(input []byte)
intset/intset.go:322
↓ 2 callersFunctionFoREncode
(input []int32)
intset/intset.go:297
↓ 2 callersMethodInt32n
(n uint32)
fastrand/fastrand.go:29
↓ 2 callersFunctionNewNative
(size int)
strtable/strtable.go:434
↓ 2 callersMethodStartBlock
()
ewmaest/ewmaest.go:25
↓ 2 callersFunctionXorshift32
Xorshift32 is an xorshift RNG
matcher/bloom.go:94
↓ 2 callersFunctionXorshift32
(y uint32)
strtable/strtable_test.go:16
↓ 2 callersMethodadd
(ch byte)
fastsearch/fastsearch.go:7
↓ 2 callersFunctionaddFileNames
(m map[string]struct{}, paths []string)
photocmp/main.go:109
↓ 2 callersFunctionappendUint32
(b []byte, i int32)
intset/intset.go:289
↓ 2 callersFunctionbigintAssignString
(a *C.bigint, s string)
bigintfuzz/main.go:116
↓ 2 callersFunctionbkeys
(b []byte)
matcher/bloom.go:15
↓ 2 callersFunctionbrk
tinymalloc/malloc.c:32
↓ 2 callersFunctioncheck_match
(fileoffs, offs int, buf, s []byte)
lz/lz.go:50
↓ 2 callersMethoddeal
()
beggar/main.go:36
↓ 2 callersFunctiondumpToFile
(dst string, epoch int64, failedPackets [][]byte)
udprelay/main.go:320
↓ 2 callersFunctiondupRune
(r rune, n int)
hist/main.go:117
↓ 2 callersMethodget
(ch byte)
fastsearch/fastsearch.go:11
↓ 2 callersFunctiongetMemStats
(url string)
gcwatch/main.go:14
↓ 2 callersFunctionget_chunk_list
tinymalloc/malloc.c:67
↓ 2 callersFunctionget_chunk_size
tinymalloc/malloc.c:83
↓ 2 callersFunctiongrabString
(data []byte)
fuzzprot/fuzzprot.go:47
↓ 2 callersFunctionhashOne
(k0, k1 uint64, r io.Reader, name string)
sipsum/main.go:48
↓ 2 callersFunctioninlineMin
(x, y uint64)
branchfree/select.go:7
↓ 2 callersFunctioninsertWithHash
(t []leapfrog, k []byte, val uint32, h uint32)
strtable/strtable.go:275
↓ 2 callersFunctionloadCounts
(fname string, k int)
topkerr/main.go:42
↓ 2 callersFunctionloadStringData
* func BenchmarkSomeNative2M(b *testing.B) { benchmarkInsertSome(b, 1<<21, nativeInserter) } func BenchmarkSomeTable2M(b *testing.B) { benchmarkInser
strtable/strtable_test.go:168
↓ 2 callersMethodmoveToEnd
(pos int)
oma/main.go:37
↓ 2 callersFunctionnlz
(x uint64)
nlz/nlz.go:3
↓ 2 callersFunctionoutputShuf
(currentSecond string, requests []string)
shufsecs/shufsecs.go:12
↓ 2 callersFunctionparseLine
(data []byte)
cstbucket/parse.go:10
↓ 2 callersMethodpred
()
threadtree/threadthree.go:234
↓ 2 callersFunctionrandelt
(in []int)
allten/allten.go:102
↓ 2 callersFunctionrandop
()
allten/allten.go:22
↓ 2 callersMethodremoveUnmarked
(slot int)
cachetest/randmark/randmark.go:55
↓ 2 callersFunctionrotl64
tsip/tsip.c:9
next →1–100 of 595, ranked by callers