Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltdb/boltd
/ functions
Functions
30 in github.com/boltdb/boltd
⨍
Functions
30
◇
Types & classes
11
↓ 8 callers
Function
pageAt
retrieves the page from a given transaction.
templates/bolt.go:204
↓ 6 callers
Method
key
key returns a byte slice of the node key.
templates/bolt.go:143
↓ 6 callers
Method
value
value returns a byte slice of the node value.
templates/bolt.go:149
↓ 4 callers
Method
branchPageElement
(index uint16)
templates/bolt.go:72
↓ 4 callers
Method
leafPageElement
(index uint16)
templates/bolt.go:67
↓ 4 callers
Function
tostr
tostr converts a byte slice to a string if all characters are printable. otherwise prints the hex representation.
templates/templates.go:18
↓ 4 callers
Function
trunc
(s string, n int)
templates/templates.go:35
↓ 3 callers
Function
comma
borrowed from: https://github.com/dustin/go-humanize
templates/templates.go:96
↓ 3 callers
Method
stats
stats calcuates statistics for a page.
templates/bolt.go:77
↓ 2 callers
Method
inuse
inuse returns the number of bytes used in a given page.
templates/bolt.go:91
↓ 2 callers
Function
pagelink
(indexes []int)
templates/templates.go:80
↓ 2 callers
Function
subpagelink
(indexes []int, index int)
templates/templates.go:88
↓ 2 callers
Method
typ
typ returns a human readable page type string used for debugging.
templates/bolt.go:50
↓ 1 callers
Function
bucketize
bucketize converts a map of observations into a histogram with a smaller set of buckets using the square root choice method.
templates/templates.go:126
↓ 1 callers
Function
find
find locates a page using either a set of page indices or a direct page id. It returns a list of parent page numbers if the indices are used. It also
templates/bolt.go:188
↓ 1 callers
Function
forEachPage
forEachPage recursively iterates over all pages starting at a given page.
templates/bolt.go:210
↓ 1 callers
Function
head
line head.ego:1
templates/ego.go:100
↓ 1 callers
Function
indexes
parses and returns all indexes from a request.
handler.go:53
↓ 1 callers
Function
nav
line nav.ego:1
templates/ego.go:190
↓ 1 callers
Function
pgids
traverses the page hierarchy by index and returns associated page ids. returns an error if an index is out of range.
templates/templates.go:44
↓ 1 callers
Function
usage
usage calculates a histogram of page sizes within nested pages.
templates/bolt.go:113
Function
Error
line error.ego:1
templates/ego.go:15
Function
Index
line index.ego:1
templates/ego.go:149
Function
NewHandler
NewHandler returns a new root HTTP handler.
handler.go:13
Function
Page
line page.ego:1
templates/ego.go:219
Method
index
(w http.ResponseWriter, r *http.Request)
handler.go:25
Method
key
key returns a byte slice of the node key.
templates/bolt.go:129
Function
main
()
cmd/boltd/main.go:13
Method
meta
()
templates/bolt.go:63
Method
page
(w http.ResponseWriter, r *http.Request)
handler.go:29