Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arpitbbhayani/tripod
/ functions
Functions
96 in github.com/arpitbbhayani/tripod
⨍
Functions
96
◇
Types & classes
2
↓ 30 callers
Method
Put
Adds the []rune key to the PrefixStore and returns if key was succesfully added and any error encountered. A non nil error is returned if len(key) > m
prefixstorerunetrie.go:32
↓ 24 callers
Method
PrefixSearch
Does the prefix search on the PrefixStore and returns a reference to list (*list.List) containings all entries from the store for the given prefix. Ea
prefixstorerunetrie.go:137
↓ 20 callers
Function
benchmarkPrefixSearch
(b *testing.B, size int, count int)
benchmarks/bytetrie_test.go:63
↓ 20 callers
Function
benchmarkRuneTriePrefixSearch
(b *testing.B, size int, count int)
benchmarks/runetrie_test.go:64
↓ 18 callers
Method
Exists
Checks and returns if given key is present in the PrefixStore
prefixstorerunetrie.go:60
↓ 5 callers
Function
benchmarkExists
(b *testing.B, size int)
benchmarks/bytetrie_test.go:33
↓ 5 callers
Function
benchmarkPut
(b *testing.B, size int)
benchmarks/bytetrie_test.go:18
↓ 5 callers
Function
benchmarkRunTrieExists
(b *testing.B, size int)
benchmarks/runetrie_test.go:34
↓ 5 callers
Function
benchmarkRunTriePut
(b *testing.B, size int)
benchmarks/runetrie_test.go:18
↓ 4 callers
Function
getRandomByteSlice
(size int)
benchmarks/bytetrie_test.go:9
↓ 4 callers
Function
getRandomUTF8RuneSlice
(size int)
benchmarks/runetrie_test.go:9
↓ 3 callers
Function
getRandomUTF8RuneSlice
(size int)
tests/runetrie_test.go:10
↓ 2 callers
Function
populatePrefixStoreByteTrie
(tr *tripod.PrefixStoreByteTrie)
tests/bytetrie_test.go:30
↓ 2 callers
Function
populatePrefixStoreRuneTrie
(tr *tripod.PrefixStoreRuneTrie)
tests/runetrie_test.go:19
↓ 1 callers
Function
CreatePrefixStoreByteTrie
Creates and returns reference to a new instance of PrefixStoreByteTrie. maxKeySizeInBytes is the maximum size of the key ([]byte) that should be allow
prefixstorebytetrie.go:22
↓ 1 callers
Function
CreatePrefixStoreRuneTrie
Creates and returns reference to a new instance of PrefixStoreRuneTrie. maxKeySizeInRunes is the maximum size of the key ([]rune) that should be allow
prefixstorerunetrie.go:22
↓ 1 callers
Function
_dfs
The DFS Function which recursively calls the children and as it encounters a valid existing key, creates a copy of the temporary buffer and appends pr
prefixstorebytetrie.go:117
↓ 1 callers
Function
_dfs_rune
The DFS Function which recursively calls the children and as it encounters a valid existing key, creates a copy of the temporary buffer and appends pr
prefixstorerunetrie.go:117
↓ 1 callers
Method
get
For a given instance of PrefixStore t, this method returns a reference to subPrefixStore that ends at the key.
prefixstorerunetrie.go:80
↓ 1 callers
Method
get
For a given instance of PrefixStore t, this method returns a reference to subPrefixStore that ends at the key.
prefixstorebytetrie.go:80
↓ 1 callers
Function
getRandomByteSlice
(size int)
tests/bytetrie_test.go:21
↓ 1 callers
Method
list
Does a Depth First Search traversal on the PrefixStoreRuneTrie and returns a List (Double Linked List) containing the keys present in the PrefixStore
prefixstorerunetrie.go:101
↓ 1 callers
Method
list
Does a Depth First Search traversal on the PrefixStoreByteTrie and returns a List (Double Linked List) containing the keys present in the PrefixStore
prefixstorebytetrie.go:101
↓ 1 callers
Function
populatePrefixStoreByteTrieForPrefix
(tr *tripod.PrefixStoreByteTrie, size int, count int, b byte)
benchmarks/bytetrie_test.go:55
↓ 1 callers
Function
populatePrefixStoreRuneTrieForPrefix
(tr *tripod.PrefixStoreRuneTrie, size int, count int, b rune)
benchmarks/runetrie_test.go:56
Function
BenchmarkByteTrieExists128
(b *testing.B)
benchmarks/bytetrie_test.go:47
Function
BenchmarkByteTrieExists16
(b *testing.B)
benchmarks/bytetrie_test.go:44
Function
BenchmarkByteTrieExists32
(b *testing.B)
benchmarks/bytetrie_test.go:45
Function
BenchmarkByteTrieExists64
(b *testing.B)
benchmarks/bytetrie_test.go:46
Function
BenchmarkByteTrieExists8
(b *testing.B)
benchmarks/bytetrie_test.go:43
Function
BenchmarkByteTriePrefixSearch128_10
(b *testing.B)
benchmarks/bytetrie_test.go:77
Function
BenchmarkByteTriePrefixSearch128_100
(b *testing.B)
benchmarks/bytetrie_test.go:89
Function
BenchmarkByteTriePrefixSearch128_200
(b *testing.B)
benchmarks/bytetrie_test.go:95
Function
BenchmarkByteTriePrefixSearch128_50
(b *testing.B)
benchmarks/bytetrie_test.go:83
Function
BenchmarkByteTriePrefixSearch16_10
(b *testing.B)
benchmarks/bytetrie_test.go:74
Function
BenchmarkByteTriePrefixSearch16_100
(b *testing.B)
benchmarks/bytetrie_test.go:86
Function
BenchmarkByteTriePrefixSearch16_200
(b *testing.B)
benchmarks/bytetrie_test.go:92
Function
BenchmarkByteTriePrefixSearch16_50
(b *testing.B)
benchmarks/bytetrie_test.go:80
Function
BenchmarkByteTriePrefixSearch32_10
(b *testing.B)
benchmarks/bytetrie_test.go:75
Function
BenchmarkByteTriePrefixSearch32_100
(b *testing.B)
benchmarks/bytetrie_test.go:87
Function
BenchmarkByteTriePrefixSearch32_200
(b *testing.B)
benchmarks/bytetrie_test.go:93
Function
BenchmarkByteTriePrefixSearch32_50
(b *testing.B)
benchmarks/bytetrie_test.go:81
Function
BenchmarkByteTriePrefixSearch64_10
(b *testing.B)
benchmarks/bytetrie_test.go:76
Function
BenchmarkByteTriePrefixSearch64_100
(b *testing.B)
benchmarks/bytetrie_test.go:88
Function
BenchmarkByteTriePrefixSearch64_200
(b *testing.B)
benchmarks/bytetrie_test.go:94
Function
BenchmarkByteTriePrefixSearch64_50
(b *testing.B)
benchmarks/bytetrie_test.go:82
Function
BenchmarkByteTriePrefixSearch8_10
(b *testing.B)
benchmarks/bytetrie_test.go:73
Function
BenchmarkByteTriePrefixSearch8_100
(b *testing.B)
benchmarks/bytetrie_test.go:85
Function
BenchmarkByteTriePrefixSearch8_200
(b *testing.B)
benchmarks/bytetrie_test.go:91
Function
BenchmarkByteTriePrefixSearch8_50
(b *testing.B)
benchmarks/bytetrie_test.go:79
Function
BenchmarkByteTriePut128
(b *testing.B)
benchmarks/bytetrie_test.go:31
Function
BenchmarkByteTriePut16
(b *testing.B)
benchmarks/bytetrie_test.go:28
Function
BenchmarkByteTriePut32
(b *testing.B)
benchmarks/bytetrie_test.go:29
Function
BenchmarkByteTriePut64
(b *testing.B)
benchmarks/bytetrie_test.go:30
Function
BenchmarkByteTriePut8
(b *testing.B)
benchmarks/bytetrie_test.go:27
Function
BenchmarkRuneTrieExists128
(b *testing.B)
benchmarks/runetrie_test.go:48
Function
BenchmarkRuneTrieExists16
(b *testing.B)
benchmarks/runetrie_test.go:45
Function
BenchmarkRuneTrieExists32
(b *testing.B)
benchmarks/runetrie_test.go:46
Function
BenchmarkRuneTrieExists64
(b *testing.B)
benchmarks/runetrie_test.go:47
Function
BenchmarkRuneTrieExists8
(b *testing.B)
benchmarks/runetrie_test.go:44
Function
BenchmarkRuneTriePrefixSearch128_10
(b *testing.B)
benchmarks/runetrie_test.go:78
Function
BenchmarkRuneTriePrefixSearch128_100
(b *testing.B)
benchmarks/runetrie_test.go:90
Function
BenchmarkRuneTriePrefixSearch128_200
(b *testing.B)
benchmarks/runetrie_test.go:96
Function
BenchmarkRuneTriePrefixSearch128_50
(b *testing.B)
benchmarks/runetrie_test.go:84
Function
BenchmarkRuneTriePrefixSearch16_10
(b *testing.B)
benchmarks/runetrie_test.go:75
Function
BenchmarkRuneTriePrefixSearch16_100
(b *testing.B)
benchmarks/runetrie_test.go:87
Function
BenchmarkRuneTriePrefixSearch16_200
(b *testing.B)
benchmarks/runetrie_test.go:93
Function
BenchmarkRuneTriePrefixSearch16_50
(b *testing.B)
benchmarks/runetrie_test.go:81
Function
BenchmarkRuneTriePrefixSearch32_10
(b *testing.B)
benchmarks/runetrie_test.go:76
Function
BenchmarkRuneTriePrefixSearch32_100
(b *testing.B)
benchmarks/runetrie_test.go:88
Function
BenchmarkRuneTriePrefixSearch32_200
(b *testing.B)
benchmarks/runetrie_test.go:94
Function
BenchmarkRuneTriePrefixSearch32_50
(b *testing.B)
benchmarks/runetrie_test.go:82
Function
BenchmarkRuneTriePrefixSearch64_10
(b *testing.B)
benchmarks/runetrie_test.go:77
Function
BenchmarkRuneTriePrefixSearch64_100
(b *testing.B)
benchmarks/runetrie_test.go:89
Function
BenchmarkRuneTriePrefixSearch64_200
(b *testing.B)
benchmarks/runetrie_test.go:95
Function
BenchmarkRuneTriePrefixSearch64_50
(b *testing.B)
benchmarks/runetrie_test.go:83
Function
BenchmarkRuneTriePrefixSearch8_10
(b *testing.B)
benchmarks/runetrie_test.go:74
Function
BenchmarkRuneTriePrefixSearch8_100
(b *testing.B)
benchmarks/runetrie_test.go:86
Function
BenchmarkRuneTriePrefixSearch8_200
(b *testing.B)
benchmarks/runetrie_test.go:92
Function
BenchmarkRuneTriePrefixSearch8_50
(b *testing.B)
benchmarks/runetrie_test.go:80
Function
BenchmarkRuneTriePut128
(b *testing.B)
benchmarks/runetrie_test.go:32
Function
BenchmarkRuneTriePut16
(b *testing.B)
benchmarks/runetrie_test.go:29
Function
BenchmarkRuneTriePut32
(b *testing.B)
benchmarks/runetrie_test.go:30
Function
BenchmarkRuneTriePut64
(b *testing.B)
benchmarks/runetrie_test.go:31
Function
BenchmarkRuneTriePut8
(b *testing.B)
benchmarks/runetrie_test.go:28
Method
Exists
Checks and returns if given key is present in the PrefixStore
prefixstorebytetrie.go:60
Method
PrefixSearch
Does the prefix search on the PrefixStore and returns a reference to list (*list.List) containings all entries from the store for the given prefix. Ea
prefixstorebytetrie.go:137
Method
Put
Adds the []byte key to the PrefixStore and returns if key was succesfully added and any error encountered. A non nil error is returned if len(key) > m
prefixstorebytetrie.go:32
Function
TestPrefixStoreByteTrieExists
(t *testing.T)
tests/bytetrie_test.go:79
Function
TestPrefixStoreByteTriePrefixSearch
(t *testing.T)
tests/bytetrie_test.go:112
Function
TestPrefixStoreByteTriePut
(t *testing.T)
tests/bytetrie_test.go:36
Function
TestPrefixStoreRuneTrieExists
(t *testing.T)
tests/runetrie_test.go:93
Function
TestPrefixStoreRuneTriePrefixSearch
(t *testing.T)
tests/runetrie_test.go:126
Function
TestPrefixStoreRuneTriePut
(t *testing.T)
tests/runetrie_test.go:25
Function
populatePrefixStoreByteTrie
(tr *tripod.PrefixStoreByteTrie, size int, count int)
benchmarks/bytetrie_test.go:49
Function
populatePrefixStoreRuneTrie
(tr *tripod.PrefixStoreRuneTrie, size int, count int)
benchmarks/runetrie_test.go:50