Zephyr API 3.6.99
|
Open-Addressing / Linear Probe Hashmap Implementation. More...
Go to the source code of this file.
Data Structures | |
struct | sys_hashmap_oa_lp_data |
Macros | |
#define | SYS_HASHMAP_OA_LP_DEFINE_ADVANCED(_name, _hash_func, _alloc_func, ...) |
Declare a Open Addressing Linear Probe Hashmap (advanced) | |
#define | SYS_HASHMAP_OA_LP_DEFINE_STATIC_ADVANCED(_name, _hash_func, _alloc_func, ...) |
Declare a Open Addressing Linear Probe Hashmap (advanced) | |
#define | SYS_HASHMAP_OA_LP_DEFINE_STATIC(_name) |
Declare a Open Addressing Linear Probe Hashmap statically. | |
#define | SYS_HASHMAP_OA_LP_DEFINE(_name) |
Declare a Open Addressing Linear Probe Hashmap. | |
Variables | |
const struct sys_hashmap_api | sys_hashmap_oa_lp_api |
Open-Addressing / Linear Probe Hashmap Implementation.
CONFIG_SYS_HASH_MAP_OA_LP
#define SYS_HASHMAP_OA_LP_DEFINE | ( | _name | ) |
Declare a Open Addressing Linear Probe Hashmap.
Declare a Open Addressing Linear Probe Hashmap with default parameters.
_name | Name of the Hashmap. |
#define SYS_HASHMAP_OA_LP_DEFINE_ADVANCED | ( | _name, | |
_hash_func, | |||
_alloc_func, | |||
... ) |
Declare a Open Addressing Linear Probe Hashmap (advanced)
Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters.
_alloc
is used for allocating internal Hashmap entries and does not interact with any user-provided keys or values._name | Name of the Hashmap. |
_hash_func | Hash function pointer of type sys_hash_func32_t. |
_alloc_func | Allocator function pointer of type sys_hashmap_allocator_t. |
... | Variant-specific details for sys_hashmap_config. |
#define SYS_HASHMAP_OA_LP_DEFINE_STATIC | ( | _name | ) |
Declare a Open Addressing Linear Probe Hashmap statically.
Declare a Open Addressing Linear Probe Hashmap statically with default parameters.
_name | Name of the Hashmap. |
#define SYS_HASHMAP_OA_LP_DEFINE_STATIC_ADVANCED | ( | _name, | |
_hash_func, | |||
_alloc_func, | |||
... ) |
Declare a Open Addressing Linear Probe Hashmap (advanced)
Declare a Open Addressing Linear Probe Hashmap with control over advanced parameters.
_alloc
is used for allocating internal Hashmap entries and does not interact with any user-provided keys or values._name | Name of the Hashmap. |
_hash_func | Hash function pointer of type sys_hash_func32_t. |
_alloc_func | Allocator function pointer of type sys_hashmap_allocator_t. |
... | Details for sys_hashmap_config. |
|
extern |