Documentation ¶
Overview ¶
文件空间管理
Index ¶
- type Block
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.