Searched refs:bytes2blocks (Results 1 – 12 of 12) 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()
408 var blocks = new Array(); blocks = bytes2blocks(digest_pad(str2bytes(str)));
465 var blocks = new Array(); blocks = bytes2blocks(digest_pad(str2bytes(str)));