Lines Matching refs:ranges
116 EXPECT_EQ(0, histogram->ranges(0));
119 EXPECT_EQ(power_of_2, histogram->ranges(i));
122 EXPECT_EQ(INT_MAX, histogram->ranges(8));
129 EXPECT_EQ(i, short_histogram->ranges(i));
130 EXPECT_EQ(INT_MAX, short_histogram->ranges(8));
134 // We also get a nice linear set of bucket ranges when we ask for it
136 EXPECT_EQ(i, linear_histogram->ranges(i));
137 EXPECT_EQ(INT_MAX, linear_histogram->ranges(8));
141 // ...but when the list has more space, then the ranges naturally spread out.
143 EXPECT_EQ(2 * i, linear_broad_histogram->ranges(i));
144 EXPECT_EQ(INT_MAX, linear_broad_histogram->ranges(8));
150 EXPECT_EQ(0, transitioning_histogram->ranges(0));
151 EXPECT_EQ(1, transitioning_histogram->ranges(1));
152 EXPECT_EQ(2, transitioning_histogram->ranges(2));
153 EXPECT_EQ(3, transitioning_histogram->ranges(3));
154 EXPECT_EQ(4, transitioning_histogram->ranges(4));
155 EXPECT_EQ(5, transitioning_histogram->ranges(5));
156 EXPECT_EQ(6, transitioning_histogram->ranges(6));
157 EXPECT_EQ(7, transitioning_histogram->ranges(7));
158 EXPECT_EQ(9, transitioning_histogram->ranges(8));
159 EXPECT_EQ(11, transitioning_histogram->ranges(9));
160 EXPECT_EQ(14, transitioning_histogram->ranges(10));
161 EXPECT_EQ(17, transitioning_histogram->ranges(11));
162 EXPECT_EQ(21, transitioning_histogram->ranges(12));
163 EXPECT_EQ(26, transitioning_histogram->ranges(13));
164 EXPECT_EQ(32, transitioning_histogram->ranges(14));
165 EXPECT_EQ(INT_MAX, transitioning_histogram->ranges(15));
201 EXPECT_EQ(0, histogram->ranges(0));
204 EXPECT_EQ(power_of_2, histogram->ranges(i));
207 EXPECT_EQ(INT_MAX, histogram->ranges(8));
222 EXPECT_EQ(INT_MAX, histogram->ranges(8));