TRingBuffer::Reserve

Set the capacity to the maximum of the current capacity and the (next power of two greater than or equal to) the given capacity.