Versions in this module Expand all Collapse all v1 v1.2.1 Oct 30, 2020 Changes in this version + type Block struct + func (block *Block) Index() int + func (block *Block) Less(item gbtree.Item) bool + func (block *Block) Size() int + type Space struct + func New() *Space + func (space *Space) AddBlock(index int, size int) + func (space *Space) Contains(index int, size int) bool + func (space *Space) Export() []byte + func (space *Space) GetAllBlocks() []Block + func (space *Space) GetAllSizes() []uint + func (space *Space) GetBlock(size int) (int, int) + func (space *Space) GetMaxBlock() *Block + func (space *Space) GetMaxSize() int + func (space *Space) GetMinBlock() *Block + func (space *Space) Import(content []byte) + func (space *Space) Len() int + func (space *Space) RemoveBlock(index int) + func (space *Space) SumSize() int