Documentation ¶
Index ¶
- type Address
- type BlockType
- type Memory
- type Store
- func (s *Store) Allocate(size int, t BlockType) (Address, []byte, error)
- func (s *Store) Close() error
- func (s *Store) Free(Address) error
- func (s *Store) GetBlock(addr Address) ([]byte, BlockType, error)
- func (s *Store) GetRootAddress() Address
- func (s *Store) PrivateMMap() (*Store, error)
- func (s *Store) SetRootAddress(a Address) error
- func (s *Store) Touch(addr Address) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockType ¶
type BlockType byte
const BTreeInternalNodeBlockType BlockType = 2
const BTreeLeafBlockType BlockType = 3
const BTreeMetaBlockType BlockType = 1
const SequentialDataBlockType BlockType = 5
const SequentialMetaBlockType BlockType = 4
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetRootAddress ¶
func (*Store) PrivateMMap ¶
func (*Store) SetRootAddress ¶
Click to show internal directories.
Click to hide internal directories.