MCPcopy
hub / github.com/etcd-io/bbolt / newShared

Function newShared

internal/freelist/shared.go:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func newShared() *shared {
28 return &shared{
29 pending: make(map[common.Txid]*txPending),
30 allocs: make(map[common.Pgid]common.Txid),
31 cache: make(map[common.Pgid]struct{}),
32 }
33}
34
35func (t *shared) pendingPageIds() map[common.Txid]*txPending {
36 return t.pending

Callers 2

NewArrayFreelistFunction · 0.85
NewHashMapFreelistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected