Loading...
Searching...
No Matches
Go to the documentation of this file.
3 #define INDEX_TYPE uint8_t
4 #define CAPACITY_EXCLUSIVE_UPPER (UINT8_MAX + 1ULL)
5 #define MAX_INDEX (UINT8_MAX - 1ULL)
6 #define INDEX_NONE UINT8_MAX
8 #define INDEX_TYPE uint16_t
9 #define CAPACITY_EXCLUSIVE_UPPER (UINT16_MAX + 1ULL)
10 #define MAX_INDEX (UINT16_MAX - 1ULL)
11 #define INDEX_NONE UINT16_MAX
12 #elif INDEX_BITS == 32
13 #define INDEX_TYPE uint32_t
14 #define CAPACITY_EXCLUSIVE_UPPER (UINT32_MAX + 1ULL)
15 #define MAX_INDEX (UINT32_MAX - 1ULL)
16 #define INDEX_NONE UINT32_MAX
17 #elif INDEX_BITS == 64
18 #define INDEX_TYPE uint64_t
20 #define CAPACITY_EXCLUSIVE_UPPER UINT64_MAX
21 #define MAX_INDEX (UINT64_MAX - 1ULL)
22 #define INDEX_NONE UINT64_MAX