MCPcopy Create free account

hub / github.com/boltdb/boltd / functions

Functions30 in github.com/boltdb/boltd

↓ 8 callersFunctionpageAt
retrieves the page from a given transaction.
templates/bolt.go:204
↓ 6 callersMethodkey
key returns a byte slice of the node key.
templates/bolt.go:143
↓ 6 callersMethodvalue
value returns a byte slice of the node value.
templates/bolt.go:149
↓ 4 callersMethodbranchPageElement
(index uint16)
templates/bolt.go:72
↓ 4 callersMethodleafPageElement
(index uint16)
templates/bolt.go:67
↓ 4 callersFunctiontostr
tostr converts a byte slice to a string if all characters are printable. otherwise prints the hex representation.
templates/templates.go:18
↓ 4 callersFunctiontrunc
(s string, n int)
templates/templates.go:35
↓ 3 callersFunctioncomma
borrowed from: https://github.com/dustin/go-humanize
templates/templates.go:96
↓ 3 callersMethodstats
stats calcuates statistics for a page.
templates/bolt.go:77
↓ 2 callersMethodinuse
inuse returns the number of bytes used in a given page.
templates/bolt.go:91
↓ 2 callersFunctionpagelink
(indexes []int)
templates/templates.go:80
↓ 2 callersFunctionsubpagelink
(indexes []int, index int)
templates/templates.go:88
↓ 2 callersMethodtyp
typ returns a human readable page type string used for debugging.
templates/bolt.go:50
↓ 1 callersFunctionbucketize
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 callersFunctionfind
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 callersFunctionforEachPage
forEachPage recursively iterates over all pages starting at a given page.
templates/bolt.go:210
↓ 1 callersFunctionhead
line head.ego:1
templates/ego.go:100
↓ 1 callersFunctionindexes
parses and returns all indexes from a request.
handler.go:53
↓ 1 callersFunctionnav
line nav.ego:1
templates/ego.go:190
↓ 1 callersFunctionpgids
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 callersFunctionusage
usage calculates a histogram of page sizes within nested pages.
templates/bolt.go:113
FunctionError
line error.ego:1
templates/ego.go:15
FunctionIndex
line index.ego:1
templates/ego.go:149
FunctionNewHandler
NewHandler returns a new root HTTP handler.
handler.go:13
FunctionPage
line page.ego:1
templates/ego.go:219
Methodindex
(w http.ResponseWriter, r *http.Request)
handler.go:25
Methodkey
key returns a byte slice of the node key.
templates/bolt.go:129
Functionmain
()
cmd/boltd/main.go:13
Methodmeta
()
templates/bolt.go:63
Methodpage
(w http.ResponseWriter, r *http.Request)
handler.go:29