Module cudb::mmapv1::block [−][src]
Expand description
Represents a memory block: offset and size.
Structs
Stores a memory block (for a single document).
Statics
Header size, in bytes.
Maximum block size including header, in bytes.
Minimum block size including header, in bytes. Prevents excessive fragmentation.
Functions
Get the real allocation size (capacity) for a given size data (not including header). This is the smallest power of two (bytes) that will contain the data and header.