Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c1970 u64 weight_sum = 0; in HUF_init_dtable_usingweights() local
1976 weight_sum += weights[i] > 0 ? (u64)1 << (weights[i] - 1) : 0; in HUF_init_dtable_usingweights()
1980 const int max_bits = highest_set_bit(weight_sum) + 1; in HUF_init_dtable_usingweights()
1981 const u64 left_over = ((u64)1 << max_bits) - weight_sum; in HUF_init_dtable_usingweights()