Searched refs:IntLog2Ceil (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 70 using absl::random_internal::IntLog2Ceil; in TEST() 72 EXPECT_EQ(0, IntLog2Ceil(0)); // boundary. return 0. in TEST() 73 EXPECT_EQ(0, IntLog2Ceil(1)); in TEST() 74 EXPECT_EQ(1, IntLog2Ceil(2)); in TEST() 75 EXPECT_EQ(64, IntLog2Ceil(~kZero)); in TEST() 80 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 92 EXPECT_EQ(i + 1, IntLog2Ceil(y)); in TEST()
|
D | fastmath.h | 44 inline int IntLog2Ceil(uint64_t n) { in IntLog2Ceil() function
|
/external/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 70 using absl::random_internal::IntLog2Ceil; in TEST() 72 EXPECT_EQ(0, IntLog2Ceil(0)); // boundary. return 0. in TEST() 73 EXPECT_EQ(0, IntLog2Ceil(1)); in TEST() 74 EXPECT_EQ(1, IntLog2Ceil(2)); in TEST() 75 EXPECT_EQ(64, IntLog2Ceil(~kZero)); in TEST() 80 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 92 EXPECT_EQ(i + 1, IntLog2Ceil(y)); in TEST()
|
D | fastmath.h | 44 inline int IntLog2Ceil(uint64_t n) { in IntLog2Ceil() function
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | fastmath_test.cc | 70 using absl::random_internal::IntLog2Ceil; in TEST() 72 EXPECT_EQ(0, IntLog2Ceil(0)); // boundary. return 0. in TEST() 73 EXPECT_EQ(0, IntLog2Ceil(1)); in TEST() 74 EXPECT_EQ(1, IntLog2Ceil(2)); in TEST() 75 EXPECT_EQ(64, IntLog2Ceil(~kZero)); in TEST() 80 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 92 EXPECT_EQ(i + 1, IntLog2Ceil(y)); in TEST()
|
D | fastmath.h | 44 inline int IntLog2Ceil(uint64_t n) { in IntLog2Ceil() function
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 70 using absl::random_internal::IntLog2Ceil; in TEST() 72 EXPECT_EQ(0, IntLog2Ceil(0)); // boundary. return 0. in TEST() 73 EXPECT_EQ(0, IntLog2Ceil(1)); in TEST() 74 EXPECT_EQ(1, IntLog2Ceil(2)); in TEST() 75 EXPECT_EQ(64, IntLog2Ceil(~kZero)); in TEST() 80 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 92 EXPECT_EQ(i + 1, IntLog2Ceil(y)); in TEST()
|
D | fastmath.h | 44 inline int IntLog2Ceil(uint64_t n) { in IntLog2Ceil() function
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 70 using absl::random_internal::IntLog2Ceil; in TEST() 72 EXPECT_EQ(0, IntLog2Ceil(0)); // boundary. return 0. in TEST() 73 EXPECT_EQ(0, IntLog2Ceil(1)); in TEST() 74 EXPECT_EQ(1, IntLog2Ceil(2)); in TEST() 75 EXPECT_EQ(64, IntLog2Ceil(~kZero)); in TEST() 80 EXPECT_LE(IntLog2Ceil(~kZero), static_cast<int>(std::log2(~kZero))); in TEST() 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 92 EXPECT_EQ(i + 1, IntLog2Ceil(y)); in TEST()
|
D | fastmath.h | 44 inline int IntLog2Ceil(uint64_t n) { in IntLog2Ceil() function
|