VirtualFileSystem.VFSCore.SetBitmapAllocated C# (CSharp) Method

SetBitmapAllocated() private method

位图指定位置标记为已占用
private SetBitmapAllocated ( UInt32 offset, UInt32 bitmap, UInt32 index ) : void
offset System.UInt32
bitmap System.UInt32
index System.UInt32
return void
        private void SetBitmapAllocated(UInt32 offset, UInt32[] bitmap, UInt32 index)
        {
            bitmap[index / 32] |= (uint)1 << (int)(index % 32);
            UpdateBitmapVectorAtIndex(offset, bitmap, index);
        }