Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgryski/trifles
/ functions
Functions
595 in github.com/dgryski/trifles
⨍
Functions
595
◇
Types & classes
93
↓ 44 callers
Method
String
()
allten/allten.go:55
↓ 43 callers
Method
Scan
()
simhash/scanners.go:8
↓ 37 callers
Method
Intn
Intn returns a uniform random integer [0,bound)
fastrand/fastrand.go:20
↓ 26 callers
Method
Get
(key []byte)
mpush/main.go:185
↓ 23 callers
Function
benchmarkHash
(b *testing.B, str string, h func([]byte) uint64)
hashbench/bench_test.go:156
↓ 22 callers
Function
next
(scanner *bufio.Scanner, n *big.Int)
mtest/main.go:120
↓ 21 callers
Function
benchmarkSearch
(b *testing.B, limit int, search func([]int, int) int)
interp/interp_test.go:25
↓ 21 callers
Function
f
(x float64)
numerical/integrate_test.go:9
↓ 20 callers
Function
benchmarkInsertSome
(b *testing.B, size uint32, creator func(int) Inserter)
strtable/strtable_test.go:50
↓ 18 callers
Method
Write
(w io.Writer)
wasmfuzz/main.go:103
↓ 17 callers
Method
Bytes
()
simhash/scanners.go:9
↓ 15 callers
Method
Set
(key string, value interface{})
cachetest/slru/slru.go:36
↓ 15 callers
Function
benchmarkInsertAll
(b *testing.B, size uint32, creator func(int) Inserter)
strtable/strtable_test.go:78
↓ 13 callers
Method
allow
(s string)
cachetest/main.go:416
↓ 11 callers
Method
Err
()
simhash/scanners.go:10
↓ 10 callers
Function
benchmarkInts
(b *testing.B, n int)
stablepart/bench/bench_test.go:8
↓ 10 callers
Function
benchmarkMove
(b *testing.B, n int)
stablepart/bench/bench_test.go:28
↓ 9 callers
Method
Insert
([]byte, uint32)
strtable/strtable_test.go:13
↓ 9 callers
Method
pop
()
allten/allten.go:47
↓ 8 callers
Function
MatchBloom
Lookup checks the bloom filter for the byte array b
matcher/bloom.go:49
↓ 8 callers
Function
getLongerString
(s string, length int)
cachetest/main.go:425
↓ 7 callers
Method
push
(t T)
allten/allten.go:43
↓ 6 callers
Method
DecRef
(b []byte)
udprelay/main.go:46
↓ 6 callers
Function
XorshiftMult64
64-bit xorshift multiply rng from http://vigna.di.unimi.it/ftp/papers/xorshift.pdf
branchfree/select_test.go:74
↓ 6 callers
Function
compare
* 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 callers
Function
compareRegions
compare-exchange two regions of length offset each
shellsort/shell.go:43
↓ 6 callers
Method
del
(parent *Node, val int)
threadtree/threadthree.go:86
↓ 5 callers
Method
Next
Next returns the next random number
fastrand/fastrand.go:12
↓ 5 callers
Function
testInsert
(t *testing.T, which string, creator func(int) Inserter)
strtable/strtable_test.go:23
↓ 5 callers
Method
walkIn
(f func(*Node))
threadtree/threadthree.go:204
↓ 5 callers
Method
walkLinkReverse
(f func(*Node))
threadtree/threadthree.go:278
↓ 4 callers
Method
Len
()
gddo/gddo.go:25
↓ 4 callers
Method
String
()
wasmfuzz/main.go:47
↓ 4 callers
Function
get
(url string, jsr interface{})
gddo/gddo.go:29
↓ 4 callers
Function
leveldbHash
leveldb's bloom filter hash, a murmur-lite
strtable/strtable.go:87
↓ 4 callers
Function
min
(x, y uint64)
branchfree/select.go:21
↓ 4 callers
Function
nlz
(x uint32)
intset/nlz.go:3
↓ 4 callers
Function
rdtsc
()
numerical/rdtsc.go:3
↓ 4 callers
Function
roll
()
jolly/main.go:85
↓ 4 callers
Method
round
()
tsip/go/tsip.go:12
↓ 4 callers
Function
sipround
(v0, v1 Register)
tsip/go/asm.go:13
↓ 4 callers
Method
swapPlayer
()
beggar/main.go:46
↓ 4 callers
Method
walkLink
(f func(*Node))
threadtree/threadthree.go:262
↓ 3 callers
Function
Reverse
(d sort.Interface, f, l int)
stablepart/stablepart.go:37
↓ 3 callers
Function
Search
modified from http://data.linkedin.com/blog/2010/06/beating-binary-search
interp/interp.go:6
↓ 3 callers
Function
U8TO64_LE
tsip/tsip.c:5
↓ 3 callers
Method
add
(val int)
threadtree/threadthree.go:43
↓ 3 callers
Function
bigintCreate
()
bigintfuzz/main.go:112
↓ 3 callers
Function
bigintFormat
(a *C.bigint)
bigintfuzz/main.go:134
↓ 3 callers
Function
check_tree
(b *BinTree)
threadtree/threadthree.go:303
↓ 3 callers
Function
fastMin
(x, y uint64)
branchfree/select.go:11
↓ 3 callers
Function
goFishing
(what string, match func(s string) int)
fsmdemo/main.go:30
↓ 3 callers
Method
growing_tree
(self, choice_strategy, removal_strategy)
maze/maze.py:54
↓ 3 callers
Function
hammingDistance
(v1 uint64, v2 uint64)
simhash/simhash.go:47
↓ 3 callers
Function
log
(op string, a, b, c *big.Int, s string)
bigintfuzz/main.go:105
↓ 3 callers
Function
max
(a, b int)
lz/lz.go:101
↓ 3 callers
Method
moveHome
(player int)
oma/main.go:43
↓ 3 callers
Function
reverseInts
(d []int, f, l int)
stablepart/bench/part.go:32
↓ 3 callers
Function
simhashString
(s string)
simhash/simhash_test.go:10
↓ 3 callers
Function
stablePartitionMove
(array []int, sz int, p func(i int) bool)
stablepart/bench/part.go:39
↓ 3 callers
Function
trapezoidIterativeHelper
(start float64, end float64, steps int, fp func(float64) float64, oldEstimate float64)
numerical/integrate.go:58
↓ 3 callers
Function
vint_encode
(enc []uint8, n uint32)
intset/intset.go:16
↓ 2 callers
Method
AddRef
(b []byte)
udprelay/main.go:40
↓ 2 callers
Method
Alloc
(size int)
udprelay/main.go:33
↓ 2 callers
Function
FoRDecode
(input []byte)
intset/intset.go:322
↓ 2 callers
Function
FoREncode
(input []int32)
intset/intset.go:297
↓ 2 callers
Method
Int32n
(n uint32)
fastrand/fastrand.go:29
↓ 2 callers
Function
NewNative
(size int)
strtable/strtable.go:434
↓ 2 callers
Method
StartBlock
()
ewmaest/ewmaest.go:25
↓ 2 callers
Function
Xorshift32
Xorshift32 is an xorshift RNG
matcher/bloom.go:94
↓ 2 callers
Function
Xorshift32
(y uint32)
strtable/strtable_test.go:16
↓ 2 callers
Method
add
(ch byte)
fastsearch/fastsearch.go:7
↓ 2 callers
Function
addFileNames
(m map[string]struct{}, paths []string)
photocmp/main.go:109
↓ 2 callers
Function
appendUint32
(b []byte, i int32)
intset/intset.go:289
↓ 2 callers
Function
bigintAssignString
(a *C.bigint, s string)
bigintfuzz/main.go:116
↓ 2 callers
Function
bkeys
(b []byte)
matcher/bloom.go:15
↓ 2 callers
Function
brk
tinymalloc/malloc.c:32
↓ 2 callers
Function
check_match
(fileoffs, offs int, buf, s []byte)
lz/lz.go:50
↓ 2 callers
Method
deal
()
beggar/main.go:36
↓ 2 callers
Function
dumpToFile
(dst string, epoch int64, failedPackets [][]byte)
udprelay/main.go:320
↓ 2 callers
Function
dupRune
(r rune, n int)
hist/main.go:117
↓ 2 callers
Method
get
(ch byte)
fastsearch/fastsearch.go:11
↓ 2 callers
Function
getMemStats
(url string)
gcwatch/main.go:14
↓ 2 callers
Function
get_chunk_list
tinymalloc/malloc.c:67
↓ 2 callers
Function
get_chunk_size
tinymalloc/malloc.c:83
↓ 2 callers
Function
grabString
(data []byte)
fuzzprot/fuzzprot.go:47
↓ 2 callers
Function
hashOne
(k0, k1 uint64, r io.Reader, name string)
sipsum/main.go:48
↓ 2 callers
Function
inlineMin
(x, y uint64)
branchfree/select.go:7
↓ 2 callers
Function
insertWithHash
(t []leapfrog, k []byte, val uint32, h uint32)
strtable/strtable.go:275
↓ 2 callers
Function
loadCounts
(fname string, k int)
topkerr/main.go:42
↓ 2 callers
Function
loadStringData
* func BenchmarkSomeNative2M(b *testing.B) { benchmarkInsertSome(b, 1<<21, nativeInserter) } func BenchmarkSomeTable2M(b *testing.B) { benchmarkInser
strtable/strtable_test.go:168
↓ 2 callers
Method
moveToEnd
(pos int)
oma/main.go:37
↓ 2 callers
Function
nlz
(x uint64)
nlz/nlz.go:3
↓ 2 callers
Function
outputShuf
(currentSecond string, requests []string)
shufsecs/shufsecs.go:12
↓ 2 callers
Function
parseLine
(data []byte)
cstbucket/parse.go:10
↓ 2 callers
Method
pred
()
threadtree/threadthree.go:234
↓ 2 callers
Function
randelt
(in []int)
allten/allten.go:102
↓ 2 callers
Function
randop
()
allten/allten.go:22
↓ 2 callers
Method
removeUnmarked
(slot int)
cachetest/randmark/randmark.go:55
↓ 2 callers
Function
rotl64
tsip/tsip.c:9
next →
1–100 of 595, ranked by callers