PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ HASH_MAKE_TABLE

#define HASH_MAKE_TABLE (   hh,
  head 
)
Value:
do { \
(head)->hh.tbl = (UT_hash_table*)uthash_malloc( \
sizeof(UT_hash_table)); \
if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \
memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \
(head)->hh.tbl->tail = &((head)->hh); \
(head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
(head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \
(head)->hh.tbl->hho = (char*)(&(head)->hh) - (char*)(head); \
(head)->hh.tbl->buckets = (UT_hash_bucket*)uthash_malloc( \
if (! (head)->hh.tbl->buckets) { uthash_fatal( "out of memory"); } \
memset((head)->hh.tbl->buckets, 0, \
HASH_BLOOM_MAKE((head)->hh.tbl); \
(head)->hh.tbl->signature = HASH_SIGNATURE; \
} while (0)
#define HASH_INITIAL_NUM_BUCKETS_LOG2
Definition: uthash.h:107
#define uthash_fatal(msg)
Definition: uthash.h:83
#define HASH_INITIAL_NUM_BUCKETS
Definition: uthash.h:106
#define HASH_SIGNATURE
Definition: uthash.h:1046
struct quantile_llist_element * head
Definition: librtcore.h:2348
#define uthash_malloc(sz)
Definition: uthash.h:86

Definition at line 173 of file uthash.h.