Lines Matching refs:ranges
732 auto [res, ranges] = getFilledRanges(fd.get()); in TEST_F()
734 EXPECT_EQ(size_t(5), ranges.totalSize()); in TEST_F()
735 ASSERT_EQ(size_t(3), ranges.dataRanges().size()); in TEST_F()
737 EXPECT_EQ(lastPage, ranges.dataRanges()[2].begin); in TEST_F()
738 EXPECT_EQ(size_t(1), ranges.dataRanges()[2].size()); in TEST_F()
739 ASSERT_EQ(size_t(2), ranges.hashRanges().size()); in TEST_F()
740 EXPECT_EQ(0, ranges.hashRanges()[0].begin); in TEST_F()
741 EXPECT_EQ(size_t(1), ranges.hashRanges()[0].size()); in TEST_F()
742 EXPECT_EQ(2, ranges.hashRanges()[1].begin); in TEST_F()
743 EXPECT_EQ(size_t(1), ranges.hashRanges()[1].size()); in TEST_F()
746 FilledRanges::RangeBuffer buf(ranges.totalSize() - 1); in TEST_F()
749 EXPECT_EQ(ranges.totalSize() - 1, ranges2.totalSize()); in TEST_F()
758 EXPECT_EQ(ranges.totalSize(), ranges3.totalSize()); in TEST_F()