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

Interface ReadWriter

internal/freelist/freelist.go:7–17  ·  internal/freelist/freelist.go::ReadWriter

Source from the content-addressed store, hash-verified

5)
6
7type ReadWriter interface {
8 // Read calls Init with the page ids stored in the given page.
9 Read(page *common.Page)
10
11 // Write writes the freelist into the given page.
12 Write(page *common.Page)
13
14 // EstimatedWritePageSize returns the size in bytes of the freelist after serialization in Write.
15 // This should never underestimate the size.
16 EstimatedWritePageSize() int
17}
18
19type Interface interface {
20 ReadWriter

Callers 20

createAndPutKeysFunction · 0.65
loadFreelistMethod · 0.65
executeWriteFunction · 0.65
TestFreeList_initFunction · 0.65
TestFreeList_reloadFunction · 0.65
TestFreelist_readFunction · 0.65
TestFreelist_read_panicsFunction · 0.65
commitFreelistMethod · 0.65
WriteToMethod · 0.65
writeMetaMethod · 0.65

Implementers 1

sharedinternal/freelist/shared.go

Calls

no outgoing calls

Tested by

no test coverage detected