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.java49 static final int ARRAY_SIZE = 8; field in Main
52 for (int i = 0; i < ARRAY_SIZE; i++) { in initByteArray()
57 for (int i = 0; i < ARRAY_SIZE; i++) { in initShortArray()
62 for (int i = 0; i < ARRAY_SIZE; i++) { in initIntArray()
67 for (int i = 0; i < ARRAY_SIZE; i++) { in initLongArray()
77 byte[] byteArray = new byte[ARRAY_SIZE]; in makeCopies()
78 short[] shortArray = new short[ARRAY_SIZE]; in makeCopies()
79 int[] intArray = new int[ARRAY_SIZE]; in makeCopies()
80 long[] longArray = new long[ARRAY_SIZE]; in makeCopies()
92 for (int i = 0; i < ARRAY_SIZE; i++) { 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()