Home
last modified time | relevance | path

Searched refs:longArray (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectByteBufferTest.java105 long[] longArray = new long[]{2147484614L, 2147485823L}; in testUnalignedReadsAndWrites() local
107 longBuf.put(longArray); in testUnalignedReadsAndWrites()
110 longBuf.get(longArray); in testUnalignedReadsAndWrites()
112 assertEquals(2147484614L, longArray[0]); in testUnalignedReadsAndWrites()
113 assertEquals(2147485823L, longArray[1]); in testUnalignedReadsAndWrites()
/libcore/ojluni/src/test/java/util/Arrays/
DArrayObjectMethods.java60 long[] a = Rnd.longArray(size); in test()
304 public static long[] longArray(int length) { in longArray() method in Rnd
375 case 1: result[i] = longArray(length/2); in nestedObjectArray()
389 case 8: result[i] = longArray(length/2); in nestedObjectArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java73 long[] longArray; field in ArraysTest
246 Arrays.binarySearch(longArray, counter) == counter); in test_binarySearch$JJ()
248 -1, Arrays.binarySearch(longArray, (long) -1)); in test_binarySearch$JJ()
251 Arrays.binarySearch(longArray, (long) arraySize) == -(arraySize + 1)); in test_binarySearch$JJ()
253 longArray[(int) counter] -= (long) 50; in test_binarySearch$JJ()
257 Arrays.binarySearch(longArray, counter - (long) 50) == counter); in test_binarySearch$JJ()
2526 longArray = new long[arraySize]; in setUp()
2536 longArray[counter] = counter; in setUp()
2945 Arrays.binarySearch(longArray, 0, arraySize, counter) == counter); in test_binarySearch$JIIJ()
2948 -1, Arrays.binarySearch(longArray, 0, arraySize, (long) -1)); in test_binarySearch$JIIJ()
[all …]
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferencesTest.java574 byte[] longArray = new byte[(int) (Preferences.MAX_VALUE_LENGTH * 0.74)]; in testPutByteArray()
576 pref.putByteArray(longKey, longArray); in testPutByteArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java277 byte[] longArray = new byte[(int) (Preferences.MAX_VALUE_LENGTH * 0.74)]; in testPutByteArray()
279 pref.putByteArray(LONG_KEY, longArray); in testPutByteArray()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java846 private static Object longArray( in longArray() method in Transformers.VarargsCollector
1027 return longArray( in makeArityArray()
1071 return longArray(reader, types, startIdx, length); in collectArguments()