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

Method Meta

internal/common/page.go:86–88  ·  view source on GitHub ↗

Meta returns a pointer to the metadata section of the page.

()

Source from the content-addressed store, hash-verified

84
85// Meta returns a pointer to the metadata section of the page.
86func (p *Page) Meta() *Meta {
87 return (*Meta)(UnsafeAdd(unsafe.Pointer(p), unsafe.Sizeof(*p)))
88}
89
90func (p *Page) FastCheck(id Pgid) {
91 if p.id != id {

Callers 6

WriteToMethod · 0.80
mmapMethod · 0.80
initMethod · 0.80
WriteMethod · 0.80

Calls 1

UnsafeAddFunction · 0.85

Tested by

no test coverage detected