Home
last modified time | relevance | path

Searched refs:MAX_LOAD (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dtable.c21 static const double MAX_LOAD = 0.85; variable
101 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()
/external/protobuf/php/ext/google/protobuf/
Dupb.c4658 static const double MAX_LOAD = 0.85; variable
4732 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()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c6451 static const double MAX_LOAD = 0.85; variable
6525 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()