Searched refs:i_pow_2 (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 57 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 59 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 61 uint64_t y = i_pow_2; in TEST() 63 y = y | (i_pow_2 >> j); in TEST() 83 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 86 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 89 uint64_t y = i_pow_2; in TEST() 91 y = y | (i_pow_2 >> j); in TEST()
|
/external/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 57 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 59 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 61 uint64_t y = i_pow_2; in TEST() 63 y = y | (i_pow_2 >> j); in TEST() 83 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 86 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 89 uint64_t y = i_pow_2; in TEST() 91 y = y | (i_pow_2 >> j); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | fastmath_test.cc | 57 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 59 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 61 uint64_t y = i_pow_2; in TEST() 63 y = y | (i_pow_2 >> j); in TEST() 83 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 86 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 89 uint64_t y = i_pow_2; in TEST() 91 y = y | (i_pow_2 >> j); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 57 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 59 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 61 uint64_t y = i_pow_2; in TEST() 63 y = y | (i_pow_2 >> j); in TEST() 83 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 86 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 89 uint64_t y = i_pow_2; in TEST() 91 y = y | (i_pow_2 >> j); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | fastmath_test.cc | 57 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 58 EXPECT_EQ(i, IntLog2Floor(i_pow_2)); in TEST() 59 EXPECT_EQ(i, static_cast<int>(std::log2(i_pow_2))); in TEST() 61 uint64_t y = i_pow_2; in TEST() 63 y = y | (i_pow_2 >> j); in TEST() 83 const uint64_t i_pow_2 = static_cast<uint64_t>(1) << i; in TEST() local 84 EXPECT_EQ(i, IntLog2Ceil(i_pow_2)); in TEST() 86 EXPECT_EQ(i, static_cast<int>(std::ceil(std::log2(i_pow_2)))); in TEST() 89 uint64_t y = i_pow_2; in TEST() 91 y = y | (i_pow_2 >> j); in TEST()
|