Searched refs:arr_size (Results 1 – 2 of 2) sorted by relevance
4596 size_t arr_size; in upb_inttable_compact() local4609 arr_size = 1; in upb_inttable_compact()4614 arr_size = max_key + 1; in upb_inttable_compact()4620 arr_size = 1 << size_lg2; in upb_inttable_compact()4622 if (arr_count >= arr_size * MIN_DENSITY) { in upb_inttable_compact()4631 arr_size = UPB_MAX(arr_size, 1); in upb_inttable_compact()4640 upb_inttable_sizedinit(&new_t, t->t.ctype, arr_size, hashsize_lg2); in upb_inttable_compact()4646 assert(new_t.array_size == arr_size); in upb_inttable_compact()
4886 size_t arr_size = max[size_lg2] + 1; /* +1 so arr[max] will fit. */ in upb_inttable_compact2() local4891 upb_inttable_sizedinit(&new_t, t->t.ctype, arr_size, hashsize_lg2, a); in upb_inttable_compact2()4897 assert(new_t.array_size == arr_size); in upb_inttable_compact2()