[#CuckooCache-cache-setup] = xref:CuckooCache.adoc[CuckooCache]::xref:CuckooCache/cache.adoc[cache]::setup :relfileprefix: ../../ :mrdocs: setup initializes the container to store no more than new_size elements and no less than 2 elements. == Synopsis Declared in `<cuckoocache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint32_t setup(uint32_t new_size); ---- == Description setup should only be called once. TestOnlyReset() is the exception. == Return Value the maximum number of elements storable == Parameters [cols="1,4"] |=== | Name| Description | *new_size* | the desired number of elements to store |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#