Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/bbolt
/ Len
Method
Len
internal/common/page.go:220–220 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
218
type
Pages []*Page
219
220
func
(s Pages) Len() int {
return
len(s) }
221
func
(s Pages) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
222
func
(s Pages) Less(i, j int) bool {
return
s[i].id < s[j].id }
223
Callers
3
TestFindPathsToKey_MultipleBuckets
Function · 0.45
TestTx_RecursivelyCheckPages_MisplacedPage
Function · 0.45
TestTx_RecursivelyCheckPages_CorruptedLeaf
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestFindPathsToKey_MultipleBuckets
Function · 0.36
TestTx_RecursivelyCheckPages_MisplacedPage
Function · 0.36
TestTx_RecursivelyCheckPages_CorruptedLeaf
Function · 0.36