Searched refs:MAX_LOAD (Results 1 – 3 of 3) sorted by relevance
21 static const double MAX_LOAD = 0.85; variable101 t->max_count = upb_table_size(t) * MAX_LOAD; in init()633 size_t hash_size = hash_count ? (hash_count / MAX_LOAD) + 1 : 0; in upb_inttable_compact2()
4658 static const double MAX_LOAD = 0.85; variable4732 return ((double)(t->count + 1) / upb_table_size(t)) > MAX_LOAD; in isfull()5281 size_t hash_size = hash_count ? (hash_count / MAX_LOAD) + 1 : 0; in upb_inttable_compact2()
6451 static const double MAX_LOAD = 0.85; variable6525 return ((double)(t->count + 1) / upb_table_size(t)) > MAX_LOAD; in isfull()7072 size_t hash_size = hash_count ? (hash_count / MAX_LOAD) + 1 : 0; in upb_inttable_compact2()