Lines Matching defs:size
80 private static Object[][] makeTestData(int size) {
81 HashableInteger UNIQUE_OBJECTS[] = new HashableInteger[size];
82 HashableInteger COLLIDING_OBJECTS[] = new HashableInteger[size];
83 String UNIQUE_STRINGS[] = new String[size];
84 String COLLIDING_STRINGS[] = new String[size];
86 for (int i = 0; i < size; i++) {
202 check("map empty", (map.size() == 0) && map.isEmpty());
205 check(String.format("insertion: map expected size m%d != i%d", map.size(), i),
206 map.size() == i);
212 check(String.format("map expected size m%d != k%d", map.size(), keys.length),
213 map.size() == keys.length);
217 check(String.format("map expected size m%d != k%d", map.size(), keys.length),
218 map.size() == keys.length);
242 check(String.format("Iteration: value count matches size m%d != c%d", map.size(), count),
243 map.size() == count);
247 check(String.format("map expected size m%d != k%d", map.size(), keys.length),
248 map.size() == keys.length);
277 check(String.format("value count matches size m%d != k%d", map.size(), keys.length),
278 map.size() == keys.length);
289 check(String.format("remove: map expected size m%d != k%d", map.size(), keys.length),
290 map.size() == keys.length);
297 check(String.format("remove: map empty. size=%d", map.size()),
298 (map.size() == 0) && map.isEmpty());
302 check(String.format("remove: map expected size m%d != k%d", map.size(), keys.length),
303 map.size() == keys.length);
312 check(String.format("remove: map empty. size=%d", map.size()),
313 (map.size() == 0) && map.isEmpty());
317 check(String.format("remove: map expected size m%d != k%d", map.size(), keys.length),
318 map.size() == keys.length);
327 check(String.format("remove: map empty. size=%d", map.size()),
328 (map.size() == 0) && map.isEmpty());
332 check(String.format("remove: map expected size m%d != k%d", map.size(), keys.length),
333 map.size() == keys.length);
346 check(String.format("remove: map empty. size=%d", map.size()),
347 (map.size() == 0) && map.isEmpty());