MapStates
Description
Per-slot state array (occupied / empty / tombstone). One byte per slot, MapCapacity(m) entries long. Diagnostic inspection only.
Parameters
| Name | Direction | Description |
|---|---|---|
m |
in | Map. |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Map.Type.c:62:
bool result =
MapPairCount(&map) == 0 && MapCapacity(&map) == 0 && MapTombstones(&map) == 0 && MapEntries(&map) == NULL &&
MapStates(&map) == NULL && map.key_compare == i32_compare && map.value_compare == NULL &&
map.key_hash == i32_hash && map.policy.should_rehash == MapPolicyLinear.should_rehash &&
map.policy.next_capacity == MapPolicyLinear.next_capacity &&
Last updated on