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

Method freePageIds

internal/freelist/freelist.go:69–69  ·  internal/freelist/freelist.go::Interface.freePageIds

freePageIds returns the IDs of all free pages. Returns an empty slice if no free pages are available.

()

Source from the content-addressed store, hash-verified

67
68 // freePageIds returns the IDs of all free pages. Returns an empty slice if no free pages are available.
69 freePageIds() common.Pgids
70
71 // pendingPageIds returns all pending pages by transaction id.
72 pendingPageIds() map[common.Txid]*txPending

Callers 15

CopyallMethod · 0.65
ReloadMethod · 0.65
reindexMethod · 0.65
TestFreelist_releaseFunction · 0.65
TestFreeList_initFunction · 0.65
TestFreeList_reloadFunction · 0.65

Calls

no outgoing calls

Tested by 13

TestFreelist_releaseFunction · 0.52
TestFreeList_initFunction · 0.52
TestFreeList_reloadFunction · 0.52
TestFreelist_readFunction · 0.52
TestFreelist_writeFunction · 0.52
requirePagesFunction · 0.52