Searched refs:CalculateSize (Results 1 – 6 of 6) sorted by relevance
63 TEST_F(BuildVerityTreeTest, CalculateSize) { in TEST_F() argument65 ASSERT_EQ(4096u, builder->CalculateSize(1)); in TEST_F()67 ASSERT_EQ(4096u, builder->CalculateSize(128 * 4096)); in TEST_F()69 ASSERT_EQ(12288u, builder->CalculateSize(128 * 4096 + 1)); in TEST_F()71 ASSERT_EQ(20811776u, builder->CalculateSize(2641915904)); in TEST_F()
130 uint64_t tree_size = builder.CalculateSize(calculate_size); in main()
95 uint64_t HashTreeBuilder::CalculateSize(uint64_t input_size) const { in CalculateSize() function in HashTreeBuilder
37 uint64_t CalculateSize(uint64_t input_size) const;
59 if (hash_tree_builder_->CalculateSize(partition_->hash_tree_data_size) != in Init()63 << hash_tree_builder_->CalculateSize( in Init()
87 uint64_t tree_size = hash_tree_builder.CalculateSize(data_size); in VerifyVerityConfig()205 hash_tree_builder.CalculateSize(num_data_blocks * block_size); in LoadVerityConfig()