Searched refs:GetBytesPerBit (Results 1 – 2 of 2) sorted by relevance
| /rocksdb-6.9/table/block_based/ |
| D | block_test.cc | 483 ASSERT_EQ(BlockReadAmpBitmap(100, 1, stats.get()).GetBytesPerBit(), 1u); in TEST_F() 484 ASSERT_EQ(BlockReadAmpBitmap(100, 2, stats.get()).GetBytesPerBit(), 2u); in TEST_F() 485 ASSERT_EQ(BlockReadAmpBitmap(100, 4, stats.get()).GetBytesPerBit(), 4u); in TEST_F() 486 ASSERT_EQ(BlockReadAmpBitmap(100, 8, stats.get()).GetBytesPerBit(), 8u); in TEST_F() 487 ASSERT_EQ(BlockReadAmpBitmap(100, 16, stats.get()).GetBytesPerBit(), 16u); in TEST_F() 488 ASSERT_EQ(BlockReadAmpBitmap(100, 32, stats.get()).GetBytesPerBit(), 32u); in TEST_F() 490 ASSERT_EQ(BlockReadAmpBitmap(100, 3, stats.get()).GetBytesPerBit(), 2u); in TEST_F() 491 ASSERT_EQ(BlockReadAmpBitmap(100, 7, stats.get()).GetBytesPerBit(), 4u); in TEST_F() 492 ASSERT_EQ(BlockReadAmpBitmap(100, 11, stats.get()).GetBytesPerBit(), 8u); in TEST_F() 493 ASSERT_EQ(BlockReadAmpBitmap(100, 17, stats.get()).GetBytesPerBit(), 16u); in TEST_F() [all …]
|
| D | block.h | 104 uint32_t GetBytesPerBit() { return 1 << bytes_per_bit_pow_; } in GetBytesPerBit() function
|