private void SetBitmapAllocated(UInt32 offset, UInt32[] bitmap, UInt32 index) { bitmap[index / 32] |= (uint)1 << (int)(index % 32); UpdateBitmapVectorAtIndex(offset, bitmap, index); }