Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/libcxx/include/__random/
H A Dgenerate_canonical.h34 const size_t __log_r = __log2<uint64_t, _URNG::_Max - _URNG::_Min + uint64_t(1)>::value; in generate_canonical()
36 const size_t __log_r = __log2<uint64_t, _URNG::max() - _URNG::min() + uint64_t(1)>::value; in generate_canonical()
H A Dlog2.h53 struct __log2 {
H A Dindependent_bits_engine.h65 …static _LIBCPP_CONSTEXPR const size_t __m = __log2<_Working_result_type, _Rp>::valu…
H A Duniform_int_distribution.h58 static _LIBCPP_CONSTEXPR const size_t __m = __log2<_Working_result_type, _Rp>::value;
/freebsd-14.2/lib/libc/db/hash/
H A Dhash_log2.c44 __log2(u_int32_t num) in __log2() function
H A Dextern.h53 u_int32_t __log2(u_int32_t);
H A Dhash.c295 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash()
301 hashp->BSHIFT = __log2(info->bsize); in init_hash()
347 l2 = __log2(MAX(nelem, 2)); in init_htab()
365 nsegs = 1 << __log2(nsegs); in init_htab()
824 spare_ndx = __log2(hashp->MAX_BUCKET + 1); in __expand_table()
H A Dhash.h171 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0)
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dsort.h883 _Number __log2 = 0;
885 __log2++;
888 return __log2;