Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/bbolt
/ Init
Method
Init
internal/freelist/array.go:16–19 ·
view source on GitHub ↗
(ids common.Pgids)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
(f *array) Init(ids common.Pgids) {
17
f.ids = ids
18
f.reindex()
19
}
20
21
func
(f *array) Allocate(txid common.Txid, n int) common.Pgid {
22
if
len(f.ids) == 0 {
Callers
nothing calls this directly
Calls
1
reindex
Method · 0.80
Tested by
no test coverage detected