[#BloombergLP-bslma-SequentialPool-expand-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialPool.adoc[SequentialPool]::expand :relfileprefix: ../../../ :mrdocs: `expand` overloads == Synopses Declared in `<bslma_sequentialpool.h>` Increase the amount of memory allocated at the specified `address` from the specified `originalNumBytes` to the maximum amount easily obtainable. Return the amount of memory available at `address` after the expansion. The behavior is undefined unless the call to this allocator that provided the `address` was performed with the `originalNumBytes`. Note that this function will not expand the memory unless there have been no allocations since the allocation for `originalNumBytes`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialPool/expand-03.adoc[expand]( void* address, int originalNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialPool/expand-03.adoc[_» more..._]# Increase the amount of memory allocated at the specified `address` from the specified `originalNumBytes` to the maximum amount easily obtainable up to the specified `maxNumBytes`. Return the amount of memory available at `address` after the expansion. The behavior is undefined unless the call to this allocator that provided the `address` was performed with the `originalNumBytes` and `originalNumBytes < maxNumBytes`. Note that this function will not expand the memory unless there have been no allocations since the allocation for `originalNumBytes`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialPool/expand-09.adoc[expand]( void* address, int originalNumBytes, int maxNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialPool/expand-09.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#