示例#1
0
        protected internal virtual void MarkAsUnused(PageCursor cursor)
        {
            sbyte inUseByte = cursor.GetByte(cursor.Offset);

            inUseByte &= ( sbyte )(~_inUseBitMaskForFirstByte);
            cursor.PutByte(inUseByte);
        }
示例#2
0
 public override bool IsInUse(PageCursor cursor)
 {
     return(IsInUse(cursor.GetByte(cursor.Offset)));
 }