[#BloombergLP-bslma-TestAllocator-setFillPattern] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::setFillPattern :relfileprefix: ../../../ :mrdocs: Set the fill pattern for newly allocated memory to `pattern`. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setFillPattern(xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] pattern); ---- == Description Set the fill pattern for this test allocator to the specified 64‐bit `pattern`. Newly allocated memory will be filled with the specified pattern value. Note that the fill pattern, if set, is applied to the entire user segment of allocated memory blocks. == Parameters [cols="1,4"] |=== | Name| Description | *pattern* | The 64‐bit pattern used to fill newly allocated memory. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#