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

Function NewArrayFreelist

internal/freelist/array.go:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func NewArrayFreelist() Interface {
102 a := &array{
103 shared: newShared(),
104 ids: []common.Pgid{},
105 }
106 a.Interface = a
107 return a
108}

Callers 6

TestTx_allocatePageStatsFunction · 0.92
newTestArrayFreelistFunction · 0.85
newTestFreelistFunction · 0.85

Calls 1

newSharedFunction · 0.85

Tested by 6

TestTx_allocatePageStatsFunction · 0.74
newTestArrayFreelistFunction · 0.68
newTestFreelistFunction · 0.68