Lines Matching refs:occupancy
75 uint32_t occupancy() const { in occupancy() function in IntSet
80 CHECK_EQ(map_.occupancy(), static_cast<double>(count)); in occupancy()
96 CHECK_EQ(0, set.occupancy()); in TestSet()
101 CHECK_EQ(3, set.occupancy()); in TestSet()
105 CHECK_EQ(3, set.occupancy()); in TestSet()
111 CHECK_EQ(3, set.occupancy()); in TestSet()
117 CHECK_EQ(2, set.occupancy()); in TestSet()
123 CHECK_EQ(1, set.occupancy()); in TestSet()
126 CHECK_EQ(0, set.occupancy()); in TestSet()
136 CHECK_EQ(i, static_cast<double>(set.occupancy())); in TestSet()
140 CHECK_EQ(n, static_cast<double>(set.occupancy())); in TestSet()
148 CHECK_EQ(n, static_cast<double>(set.occupancy())); in TestSet()
153 CHECK_EQ(n - i, static_cast<double>(set.occupancy())); in TestSet()
170 CHECK_EQ(0, set.occupancy()); in TestSet()