Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PageSize is the directio block size PageSize = directio.BlockSize // PageSizeInt64 is the int64 conversion of directio block size PageSizeInt64 = int64(directio.BlockSize) // Introduce a constant for int64 conversion of PageSize HeaderSize = int64(unsafe.Sizeof(header{}) * 8) HBDiskSignature = "\x3d\xc1\x3c\x87\xc0\x5b\xe3\xb6" HBDiskVersion = 3 )
Variables ¶
View Source
var ( // SlotSize is the data size reserved for a single node SlotSize = 1024 * 1024 SlotSizeInt64 = int64(SlotSize) )
Functions ¶
func CreateAndFillDisk ¶
func EnsureSignature ¶
func RemoveHeaderFromDisk ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.