Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 2 of 2) sorted by relevance

/art/test/011-array-copy/src/
DMain.java50 static final int ARRAY_SIZE = 8; field in Main
53 for (int i = 0; i < ARRAY_SIZE; i++) { in initByteArray()
58 for (int i = 0; i < ARRAY_SIZE; i++) { in initShortArray()
63 for (int i = 0; i < ARRAY_SIZE; i++) { in initIntArray()
68 for (int i = 0; i < ARRAY_SIZE; i++) { in initLongArray()
73 for (int i = 0; i < ARRAY_SIZE; i++) { in initCharArray()
83 byte[] byteArray = new byte[ARRAY_SIZE]; in makeCopies()
84 short[] shortArray = new short[ARRAY_SIZE]; in makeCopies()
85 int[] intArray = new int[ARRAY_SIZE]; in makeCopies()
86 long[] longArray = new long[ARRAY_SIZE]; in makeCopies()
[all …]
/art/test/074-gc-thrash/src/
DMain.java161 private static final int ARRAY_SIZE = 40960; field in Robin
167 String strings[] = new String[ARRAY_SIZE]; in run()
173 if (idx % (ARRAY_SIZE / 4) == 0) { in run()
178 idx = (idx + 1) % ARRAY_SIZE; in run()