Searched refs:IntLog2Floor (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 44 using absl::random_internal::IntLog2Floor; in TEST() 46 EXPECT_EQ(0, IntLog2Floor(0)); // boundary. return 0. in TEST() 47 EXPECT_EQ(0, IntLog2Floor(1)); in TEST() 48 EXPECT_EQ(1, IntLog2Floor(2)); in TEST() 49 EXPECT_EQ(63, IntLog2Floor(~kZero)); in TEST() 54 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 64 EXPECT_EQ(i, IntLog2Floor(y)); in TEST()
|
D | fastmath.h | 41 inline int IntLog2Floor(uint64_t n) { in IntLog2Floor() function
|
/external/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 44 using absl::random_internal::IntLog2Floor; in TEST() 46 EXPECT_EQ(0, IntLog2Floor(0)); // boundary. return 0. in TEST() 47 EXPECT_EQ(0, IntLog2Floor(1)); in TEST() 48 EXPECT_EQ(1, IntLog2Floor(2)); in TEST() 49 EXPECT_EQ(63, IntLog2Floor(~kZero)); in TEST() 54 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 64 EXPECT_EQ(i, IntLog2Floor(y)); in TEST()
|
D | fastmath.h | 41 inline int IntLog2Floor(uint64_t n) { in IntLog2Floor() function
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | fastmath_test.cc | 44 using absl::random_internal::IntLog2Floor; in TEST() 46 EXPECT_EQ(0, IntLog2Floor(0)); // boundary. return 0. in TEST() 47 EXPECT_EQ(0, IntLog2Floor(1)); in TEST() 48 EXPECT_EQ(1, IntLog2Floor(2)); in TEST() 49 EXPECT_EQ(63, IntLog2Floor(~kZero)); in TEST() 54 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 64 EXPECT_EQ(i, IntLog2Floor(y)); in TEST()
|
D | fastmath.h | 41 inline int IntLog2Floor(uint64_t n) { in IntLog2Floor() function
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 44 using absl::random_internal::IntLog2Floor; in TEST() 46 EXPECT_EQ(0, IntLog2Floor(0)); // boundary. return 0. in TEST() 47 EXPECT_EQ(0, IntLog2Floor(1)); in TEST() 48 EXPECT_EQ(1, IntLog2Floor(2)); in TEST() 49 EXPECT_EQ(63, IntLog2Floor(~kZero)); in TEST() 54 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 64 EXPECT_EQ(i, IntLog2Floor(y)); in TEST()
|
D | fastmath.h | 41 inline int IntLog2Floor(uint64_t n) { in IntLog2Floor() function
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 44 using absl::random_internal::IntLog2Floor; in TEST() 46 EXPECT_EQ(0, IntLog2Floor(0)); // boundary. return 0. in TEST() 47 EXPECT_EQ(0, IntLog2Floor(1)); in TEST() 48 EXPECT_EQ(1, IntLog2Floor(2)); in TEST() 49 EXPECT_EQ(63, IntLog2Floor(~kZero)); in TEST() 54 EXPECT_LT(IntLog2Floor(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 64 EXPECT_EQ(i, IntLog2Floor(y)); in TEST()
|
D | fastmath.h | 41 inline int IntLog2Floor(uint64_t n) { in IntLog2Floor() function
|