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

Method SetCount

internal/common/page.go:202–204  ·  view source on GitHub ↗
(target uint16)

Source from the content-addressed store, hash-verified

200}
201
202func (p *Page) SetCount(target uint16) {
203 p.count = target
204}
205
206func (p *Page) Overflow() uint32 {
207 return p.overflow

Callers 7

writeMethod · 0.80
TestNode_read_LeafPageFunction · 0.80
initMethod · 0.80
ClearPageElementsFunction · 0.80
WriteMethod · 0.80
TestFreelist_readFunction · 0.80
TestFreelist_read_panicsFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestNode_read_LeafPageFunction · 0.64
TestFreelist_readFunction · 0.64
TestFreelist_read_panicsFunction · 0.64