Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java2046 oldSum = 0, checkSum = 0;;) { in helpComplete()
2055 oldSum = checkSum = 0; in helpComplete()
2061 checkSum += h; in helpComplete()
2068 oldSum = checkSum = 0; in helpComplete()
2071 if (oldSum == (oldSum = checkSum)) in helpComplete()
2073 checkSum = 0; in helpComplete()
2101 int m = wl - 1, checkSum = 0; // for stability check in helpStealer() local
2110 checkSum += v.base; in helpStealer()
2120 checkSum += (b = v.base); in helpStealer()
2153 oldSum == (oldSum = checkSum)) in helpStealer()
[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 …]