Log2Floor 17 base/bits.h inline int Log2Floor(uint32 n) { Log2Floor 40 base/bits.h return 1 + Log2Floor(n - 1); Log2Floor 13 base/bits_unittest.cc TEST(BitsTest, Log2Floor) { Log2Floor 14 base/bits_unittest.cc EXPECT_EQ(-1, Log2Floor(0)); Log2Floor 15 base/bits_unittest.cc EXPECT_EQ(0, Log2Floor(1)); Log2Floor 16 base/bits_unittest.cc EXPECT_EQ(1, Log2Floor(2)); Log2Floor 17 base/bits_unittest.cc EXPECT_EQ(1, Log2Floor(3)); Log2Floor 18 base/bits_unittest.cc EXPECT_EQ(2, Log2Floor(4)); Log2Floor 21 base/bits_unittest.cc EXPECT_EQ(i, Log2Floor(value)); Log2Floor 22 base/bits_unittest.cc EXPECT_EQ(i, Log2Floor(value + 1)); Log2Floor 23 base/bits_unittest.cc EXPECT_EQ(i, Log2Floor(value + 2)); Log2Floor 24 base/bits_unittest.cc EXPECT_EQ(i - 1, Log2Floor(value - 1)); Log2Floor 25 base/bits_unittest.cc EXPECT_EQ(i - 1, Log2Floor(value - 2)); Log2Floor 27 base/bits_unittest.cc EXPECT_EQ(31, Log2Floor(0xffffffffU)); Log2Floor 136 gpu/command_buffer/client/transfer_buffer.cc return 1 + Log2Floor(n - 1); Log2Floor 1278 gpu/command_buffer/service/texture_manager.cc base::bits::Log2Floor(std::max(std::max(width, height), depth)); Log2Floor 465 net/disk_cache/blockfile/index_table_v3.cc DCHECK_EQ(base::bits::Log2Floor(header_->table_len), Log2Floor 466 net/disk_cache/blockfile/index_table_v3.cc base::bits::Log2Floor(backup_header_->table_len) + 1); Log2Floor 488 net/disk_cache/blockfile/index_table_v3.cc extra_bits_ = base::bits::Log2Floor(header_->table_len) - Log2Floor 489 net/disk_cache/blockfile/index_table_v3.cc base::bits::Log2Floor(kBaseTableLen);