OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MinimumBitsToStore
(Results
1 - 3
of
3
) sorted by null
/art/runtime/
utils_test.cc
425
TEST_F(UtilsTest,
MinimumBitsToStore
) {
426
EXPECT_EQ(0u,
MinimumBitsToStore
(0));
427
EXPECT_EQ(1u,
MinimumBitsToStore
(1));
428
EXPECT_EQ(2u,
MinimumBitsToStore
(0b10));
429
EXPECT_EQ(2u,
MinimumBitsToStore
(0b11));
430
EXPECT_EQ(3u,
MinimumBitsToStore
(0b100));
431
EXPECT_EQ(3u,
MinimumBitsToStore
(0b110));
432
EXPECT_EQ(3u,
MinimumBitsToStore
(0b101));
433
EXPECT_EQ(8u,
MinimumBitsToStore
(0xFF));
434
EXPECT_EQ(32u,
MinimumBitsToStore
(~static_cast<uint32_t>(0)))
[
all
...]
utils.h
254
static constexpr size_t
MinimumBitsToStore
(T value) {
/art/compiler/
image_writer.h
90
static constexpr size_t kBinBits =
MinimumBitsToStore
(kBinSize - 1);
Completed in 207 milliseconds