Home
last modified time | relevance | path

Searched refs:TEST_SIZE (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/Map/
DToArray.java44 private static final int TEST_SIZE = 5000; field in ToArray
65 private static final Integer[] KEYS = new Integer[TEST_SIZE];
67 private static final Long[] VALUES = new Long[TEST_SIZE];
70 for (int each = 0; each < TEST_SIZE; each++) {
72 VALUES[each] = Long.valueOf(each + TEST_SIZE);
80 for (int each = 0; each < TEST_SIZE; each++) { in testMap()
88 for(int each = 0; each < TEST_SIZE; each++) { in testMap()
96 for(int each = 0; each < TEST_SIZE; each++) { in testMap()
101 Map.Entry<Integer,Long>[] entries = map.entrySet().toArray(new Map.Entry[TEST_SIZE]); in testMap()
107 for(int each = 0; each < TEST_SIZE; each++) { in testMap()
DMapWithCollisionsProviders.java46 private static final int TEST_SIZE field in MapWithCollisionsProviders
52 = new IntKey(TEST_SIZE, Integer.MAX_VALUE);
98 IntKey UNIQUE_OBJECTS[] = new IntKey[TEST_SIZE]; in createUniqueObjectKeys()
99 for (int i = 0; i < TEST_SIZE; i++) { in createUniqueObjectKeys()
106 String UNIQUE_STRINGS[] = new String[TEST_SIZE]; in createUniqueStringKeys()
107 for (int i = 0; i < TEST_SIZE; i++) { in createUniqueStringKeys()
114 IntKey COLLIDING_OBJECTS[] = new IntKey[TEST_SIZE]; in createCollidingObjectKeys()
115 for (int i = 0; i < TEST_SIZE; i++) { in createCollidingObjectKeys()
122 String COLLIDING_STRINGS[] = new String[TEST_SIZE]; in createCollidingStringKeys()
123 String UNIQUE_STRINGS[] = new String[TEST_SIZE]; in createCollidingStringKeys()
[all …]
DEntryHashCode.java44 private static final int TEST_SIZE = 100; field in EntryHashCode
47 new Object[TEST_SIZE],
48 new Object[TEST_SIZE]
DBasicSerialization.java70 private static final int TEST_SIZE = IntegerEnum.SIZE - 1; field in BasicSerialization
74 private static final IntegerEnum[] KEYS = new IntegerEnum[TEST_SIZE];
79 private static final String[] VALUES = new String[TEST_SIZE];
83 for (int each = 0; each < TEST_SIZE; each++) {
217 for (int each = 0; each < TEST_SIZE; each++) { in fillMap()
DDefaults.java735 private static final int TEST_SIZE = IntegerEnum.SIZE - 1;
739 private static final IntegerEnum[] KEYS = new IntegerEnum[TEST_SIZE];
744 private static final String[] VALUES = new String[TEST_SIZE];
748 for (int each = 0; each < TEST_SIZE; each++) {
757 private static final String EXTRA_VALUE = String.valueOf(TEST_SIZE);
906 for (int each = 0; each < TEST_SIZE; each++) {
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DSpinedBufferTest.java56 private static final int TEST_SIZE = 5000; field in SpinedBufferTest
122 for (int i = 0; i < TEST_SIZE; i++) { in testSpinedBuffer()
127 for (int i = 0; i < TEST_SIZE; i++) in testSpinedBuffer()
132 for (int i = 0; i < TEST_SIZE; i++) in testSpinedBuffer()
197 for (int i = 0; i < TEST_SIZE; i++) { in testIntSpinedBuffer()
202 for (int i = 0; i < TEST_SIZE; i++) in testIntSpinedBuffer()
207 for (int i = 0; i < TEST_SIZE; i++) in testIntSpinedBuffer()
272 for (long i = 0; i < TEST_SIZE; i++) { in testLongSpinedBuffer()
277 for (int i = 0; i < TEST_SIZE; i++) in testLongSpinedBuffer()
282 for (int i = 0; i < TEST_SIZE; i++) in testLongSpinedBuffer()
[all …]
/libcore/ojluni/src/test/java/util/Arrays/
DCorrect.java47 static final int TEST_SIZE = 1000; field in Correct
52 int size = rnd.nextInt(TEST_SIZE) + 1; in testDefaultSort()
65 int size = rnd.nextInt(TEST_SIZE) + 1; in testComparatorSort()