Home
last modified time | relevance | path

Searched refs:checkSum (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/util/Arrays/
DSorting.java975 int checkSum = 0; in checkSumXor() local
978 checkSum ^= e; in checkSumXor()
980 return checkSum; in checkSumXor()
984 long checkSum = 0; in checkSumXor() local
987 checkSum ^= e; in checkSumXor()
989 return (int) checkSum; in checkSumXor()
993 byte checkSum = 0; in checkSumXor()
996 checkSum ^= e; in checkSumXor()
998 return (int) checkSum; in checkSumXor()
1002 char checkSum = 0; in checkSumXor() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java1887 assertEquals(checkSum(convertedGolden), checkSum(convertedTest)); in test_sort()
1996 private int checkSum(Object array) { in checkSum() method in ArraysTest
1998 return checkSum((int[]) array); in checkSum()
2000 return checkSum((long[]) array); in checkSum()
2002 return checkSum((short[]) array); in checkSum()
2004 return checkSum((byte[]) array); in checkSum()
2006 return checkSum((char[]) array); in checkSum()
2008 return checkSum((float[]) array); in checkSum()
2010 return checkSum((double[]) array); in checkSum()
2017 private int checkSum(int[] a) { in checkSum() method in ArraysTest
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java1754 long checkSum = c;
1762 checkSum += (((long)i) << 32) ^ s;
1764 if (oldSum == (oldSum = checkSum) && queues == qs)