setup initializes the container to store no more than new_size elements and no less than 2 elements.
Synopsis
Declared in <cuckoocache.h>
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
Name |
Description |
new_size |
the desired number of elements to store |
Created with MrDocs