Effects: If the unused space in
current_buffer
can fit a block with the specified
bytes and
alignment,
then allocate the return block from
current_buffer;
otherwise set
current_buffer to
upstream_rsrc->allocate(n, m),
where
n is not less than
max(bytes, next_buffer_size) and
m is not less than
alignment,
and increase
next_buffer_size
by an
implementation-defined growth factor (which need not be integral),
then allocate the return block from the newly-allocated
current_buffer.