|
Derive-C
|
#include <derive-c/alloc/std.h>#include <derive-c/algorithm/hash/default.h>#include <derive-c/algorithm/hash/combine.h>#include <derive-c/algorithm/hash/fnv1a.h>#include <derive-c/prelude.h>#include <inttypes.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdint.h>#include <derive-c/container/map/decomposed/template.h>#include <derive-c/container/map/ankerl/template.h>Go to the source code of this file.
Data Structures | |
| struct | user_id |
| struct | userdata |
| struct | largedata |
Macros | |
| #define | KEY struct user_id |
| #define | KEY_EQ user_id_eq |
| #define | KEY_HASH user_id_hash |
| #define | KEY_DEBUG user_id_debug |
| #define | VALUE struct userdata |
| #define | VALUE_DEBUG userdata_debug |
| #define | NAME user_map |
| #define | KEY uint64_t |
| #define | KEY_HASH DC_DEFAULT_HASH |
| #define | VALUE uint16_t |
| #define | NAME uuid_to_index_map |
| #define | KEY uint64_t |
| #define | KEY_HASH DC_DEFAULT_HASH |
| #define | VALUE struct largedata |
| #define | VALUE_DEBUG largedata_debug |
| #define | NAME ankerl_largedata_map |
Functions | |
| static bool | user_id_eq (struct user_id const *a, struct user_id const *b) |
| static size_t | user_id_hash (struct user_id const *self) |
| static void | user_id_debug (struct user_id const *self, dc_debug_fmt fmt, FILE *stream) |
| static void | userdata_debug (struct userdata const *self, dc_debug_fmt fmt, FILE *stream) |
| static void | example_basic () |
| static void | largedata_debug (struct largedata const *self, dc_debug_fmt fmt, FILE *stream) |
| static void | example_small () |
| static void | example_iteration () |
| int | main () |
| #define KEY_DEBUG user_id_debug |
| #define KEY_EQ user_id_eq |
| #define KEY_HASH DC_DEFAULT_HASH |
| #define KEY_HASH DC_DEFAULT_HASH |
| #define KEY_HASH user_id_hash |
| #define VALUE_DEBUG largedata_debug |
| #define VALUE_DEBUG userdata_debug |
|
static |
Definition at line 64 of file map.c.
|
static |
Definition at line 141 of file map.c.
|
static |
Definition at line 112 of file map.c.
|
static |
Definition at line 98 of file map.c.
| int main | ( | ) |
|
static |
Definition at line 21 of file map.c.
|
static |
Definition at line 25 of file map.c.
|
static |