kubernetes/vendor/go.etcd.io/bbolt/page.go

const pageHeaderSize

const minKeysPerPage

const branchPageElementSize

const leafPageElementSize

const branchPageFlag

const leafPageFlag

const metaPageFlag

const freelistPageFlag

const bucketLeafFlag

type pgid

type page

// typ returns a human readable page type string used for debugging.
func (p *page) typ() string {}

// meta returns a pointer to the metadata section of the page.
func (p *page) meta() *meta {}

func (p *page) fastCheck(id pgid) {}

// leafPageElement retrieves the leaf node by index
func (p *page) leafPageElement(index uint16) *leafPageElement {}

// leafPageElements retrieves a list of leaf nodes.
func (p *page) leafPageElements() []leafPageElement {}

// branchPageElement retrieves the branch node by index
func (p *page) branchPageElement(index uint16) *branchPageElement {}

// branchPageElements retrieves a list of branch nodes.
func (p *page) branchPageElements() []branchPageElement {}

// dump writes n bytes of the page to STDERR as hex output.
func (p *page) hexdump(n int) {}

type pages

func (s pages) Len() int           {}

func (s pages) Swap(i, j int)      {}

func (s pages) Less(i, j int) bool {}

type branchPageElement

// key returns a byte slice of the node key.
func (n *branchPageElement) key() []byte {}

type leafPageElement

// key returns a byte slice of the node key.
func (n *leafPageElement) key() []byte {}

// value returns a byte slice of the node value.
func (n *leafPageElement) value() []byte {}

type PageInfo

type pgids

func (s pgids) Len() int           {}

func (s pgids) Swap(i, j int)      {}

func (s pgids) Less(i, j int) bool {}

// merge returns the sorted union of a and b.
func (a pgids) merge(b pgids) pgids {}

// mergepgids copies the sorted union of a and b into dst.
// If dst is too small, it panics.
func mergepgids(dst, a, b pgids) {}