Searched refs:bytes2blocks (Results 1 – 2 of 2) sorted by relevance
474 private size_t bytes2blocks(size_t sizeInBytes) in bytes2blocks() function504 const blocksOld = bytes2blocks(b.length); in expand()505 const blocksNew = bytes2blocks(b.length + delta); in expand()554 auto newCapacity = bytes2blocks(newSize) * blockSize; in reallocate()
617 private size_t bytes2blocks(size_t sizeInBytes) in BitmappedBlockImpl()674 const blocksOld = bytes2blocks(b.length); in BitmappedBlockImpl()675 const blocksNew = bytes2blocks(b.length + delta); in BitmappedBlockImpl()746 auto newCapacity = bytes2blocks(newSize) * blockSize; in BitmappedBlockImpl()