[#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`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[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&hyphen;bit `pattern`&period; Newly allocated memory will be filled with the specified pattern value&period; Note that the fill pattern, if set, is applied to the entire user segment of allocated memory blocks&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pattern*
| The 64&hyphen;bit pattern used to fill newly allocated memory&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
