Bug #12939 ยป st.patch
| st.c | ||
|---|---|---|
|
/* Return the number of allocated bins of table TAB. */
|
||
|
static inline st_index_t
|
||
|
get_bins_num(const st_table *tab) {
|
||
|
return 1<<tab->bin_power;
|
||
|
return ((st_index_t) 1)<<tab->bin_power;
|
||
|
}
|
||
|
/* Return mask for a bin index in table TAB. */
|
||
| ... | ... | |
|
/* Return the number of allocated entries of table TAB. */
|
||
|
static inline st_index_t
|
||
|
get_allocated_entries(const st_table *tab) {
|
||
|
return 1<<tab->entry_power;
|
||
|
return ((st_index_t) 1)<<tab->entry_power;
|
||
|
}
|
||
|
/* Return size of the allocated bins of table TAB. */
|
||