예제 #1
0
 static Tree()
 {
     Constants.Assert(() => PageHeaderSize == sizeof(TreePageHeader), () => $"{nameof(TreePageHeader)} size has changed and not updated at Voron.Global.Constants.");
     Constants.Assert(() => NodeHeaderSize == sizeof(TreeNodeHeader), () => $"{nameof(TreeNodeHeader)} size has changed and not updated at Voron.Global.Constants.");
 }
예제 #2
0
 static Compression()
 {
     Constants.Assert(() => HeaderSize == sizeof(CompressedNodesHeader), () => $"{nameof(CompressedNodesHeader)} size has changed and not updated at Voron.Global.Constants.");
 }