SwatDB
|
#include <heappage.h>
Public Attributes | |
PageNum | prev_page |
PageNum | next_page |
std::uint32_t | free_space_begin |
std::uint32_t | free_space_end |
std::uint32_t | size |
std::uint32_t | capacity |
Struct for the header metadata of HeapPage object. The header is casted on top of the Page data array, from the beginning of the array. Must follow 64bit alignment.
std::uint32_t HeapPageHeader::capacity |
Number of allocated slots.
std::uint32_t HeapPageHeader::free_space_begin |
Offset where free space begins in the Page.
std::uint32_t HeapPageHeader::free_space_end |
Offset where free space ends in the Page.
std::uint32_t HeapPageHeader::size |
Number of valid/filled slots.