You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENSURE(continuousBlocks==PAGE_SIZE-this.NextFreePosition-this.FooterSize-(isNewInsert?SLOT_SIZE:0),"continuosBlock must be same as from NextFreePosition");
323
+
ENSURE(continuousBlocks==PAGE_SIZE-this.NextFreePosition-this.FooterSize-(isNewInsert?SLOT_SIZE:0),"continuousBlock must be same as from NextFreePosition");
324
324
325
-
// if continuous blocks are not big enough for this data, must run page defrag
325
+
// if continuous blocks are not enough for this data, must run page defrag
326
326
if(bytesLength>continuousBlocks)
327
327
{
328
328
this.Defrag();
@@ -617,7 +617,7 @@ private byte GetFreeIndex()
617
617
varpositionAddr=CalcPositionAddr(index);
618
618
varposition=_buffer.ReadUInt16(positionAddr);
619
619
620
-
// if position = 0 means this slot are not used
620
+
// if position = 0 means this slot is not used
621
621
if(position==0)
622
622
{
623
623
_startIndex=(byte)(index+1);
@@ -637,7 +637,7 @@ public IEnumerable<byte> GetUsedIndexs()
637
637
// check for empty before loop
638
638
if(this.ItemsCount==0)yieldbreak;
639
639
640
-
ENSURE(this.HighestIndex!=byte.MaxValue,"if has items count Heighest index should be not emtpy");
640
+
ENSURE(this.HighestIndex!=byte.MaxValue,"if has items count, Highest index should be not empty");
641
641
642
642
// [safe for byte loop] - because this.HighestIndex can't be 255
0 commit comments