Searched refs:array2 (Results 1 – 6 of 6) sorted by relevance
30 private Object[] array2; field in DeepArrayOpsBenchmark37 array2 = new Object[arrayLength * 13]; in setUp()40 array2[i] = new IntWrapper(i); in setUp()43 array2[i + 1] = new16ElementObjectarray(); in setUp()46 array2[i + 2] = new boolean[16]; in setUp()49 array2[i + 3] = new byte[16]; in setUp()52 array2[i + 4] = new char[16]; in setUp()55 array2[i + 5] = new short[16]; in setUp()58 array2[i + 6] = new float[16]; in setUp()61 array2[i + 7] = new long[16]; in setUp()[all …]
1354 public static boolean equals(byte[] array1, byte[] array2) { in equals() argument1355 if (array1 == array2) { in equals()1358 if (array1 == null || array2 == null || array1.length != array2.length) { in equals()1362 if (array1[i] != array2[i]) { in equals()1380 public static boolean equals(short[] array1, short[] array2) { in equals() argument1381 if (array1 == array2) { in equals()1384 if (array1 == null || array2 == null || array1.length != array2.length) { in equals()1388 if (array1[i] != array2[i]) { in equals()1406 public static boolean equals(char[] array1, char[] array2) { in equals() argument1407 if (array1 == array2) { in equals()[all …]
43 byte[] array2 = k.getEncoded(); in test()46 if (array1[i] == array2[i]) { in test()61 array2 = k.getEncoded(); in test()63 if (array1[i] == array2[i]) { in test()
184 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument185 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()
108 String[][] array2 = (String[][]) strStrStrArray; in testMulti() local
1789 Map.Entry[] array2 = (Map.Entry[]) c.entrySet().toArray( in test_unmodifiableMapLjava_util_Map() local1792 array2[0].setValue("modified"); in test_unmodifiableMapLjava_util_Map()2376 private static <T> void assertArrayEquals(T[] array1, T[] array2) { in assertArrayEquals() argument2377 assertTrue(Arrays.equals(array1, array2)); in assertArrayEquals()