8#ifndef UPB_HASH_INT_TABLE_H_
9#define UPB_HASH_INT_TABLE_H_
86#define UPB_INTTABLE_BEGIN -1
97 return (t->presence_mask[key / 8] & (1 << (key % 8))) != 0;
#define UPB_INLINE
Definition def.inc:144
void upb_inttable_clear(upb_inttable *t)
void upb_inttable_removeiter(upb_inttable *t, intptr_t *iter)
bool upb_inttable_remove(upb_inttable *t, uintptr_t key, upb_value *val)
void upb_inttable_setentryvalue(upb_inttable *t, intptr_t iter, upb_value v)
bool upb_inttable_done(const upb_inttable *t, intptr_t i)
bool upb_inttable_lookup(const upb_inttable *t, uintptr_t key, upb_value *v)
bool upb_inttable_init(upb_inttable *table, upb_Arena *a)
bool upb_inttable_insert(upb_inttable *t, uintptr_t key, upb_value val, upb_Arena *a)
upb_value upb_inttable_iter_value(const upb_inttable *t, intptr_t iter)
bool upb_inttable_replace(upb_inttable *t, uintptr_t key, upb_value val)
uintptr_t upb_inttable_iter_key(const upb_inttable *t, intptr_t iter)
bool upb_inttable_next(const upb_inttable *t, uintptr_t *key, upb_value *val, intptr_t *iter)
bool upb_inttable_compact(upb_inttable *t, upb_Arena *a)
size_t upb_inttable_count(const upb_inttable *t)
UPB_INLINE bool upb_inttable_arrhas(const upb_inttable *t, uintptr_t key)
Definition int_table.h:96
Definition int_table.h:20
const upb_value * array
Definition int_table.h:27
uint32_t array_count
Definition int_table.h:32
uint32_t array_size
Definition int_table.h:31
const uint8_t * presence_mask
Definition int_table.h:30
upb_table t
Definition int_table.h:21