Lines Matching refs:Long
140 return Long.compare(x, y); in compareLongs()
470 expectEquals(-1, compareLongs(Long.MIN_VALUE, Long.MIN_VALUE + 1L)); in testCompareLongs()
471 expectEquals(-1, compareLongs(Long.MIN_VALUE, -1L)); in testCompareLongs()
472 expectEquals(-1, compareLongs(Long.MIN_VALUE, 0L)); in testCompareLongs()
473 expectEquals(-1, compareLongs(Long.MIN_VALUE, 1L)); in testCompareLongs()
474 expectEquals(-1, compareLongs(Long.MIN_VALUE, Long.MAX_VALUE)); in testCompareLongs()
479 expectEquals(0, compareLongs(Long.MIN_VALUE, Long.MIN_VALUE)); in testCompareLongs()
483 expectEquals(0, compareLongs(Long.MAX_VALUE, Long.MAX_VALUE)); in testCompareLongs()
488 expectEquals(1, compareLongs(Long.MAX_VALUE, Long.MIN_VALUE)); in testCompareLongs()
489 expectEquals(1, compareLongs(Long.MAX_VALUE, -1L)); in testCompareLongs()
490 expectEquals(1, compareLongs(Long.MAX_VALUE, 0L)); in testCompareLongs()
491 expectEquals(1, compareLongs(Long.MAX_VALUE, 1L)); in testCompareLongs()
492 expectEquals(1, compareLongs(Long.MAX_VALUE, Long.MAX_VALUE - 1L)); in testCompareLongs()
507 for (long i = Long.MIN_VALUE; i <= Long.MIN_VALUE + 11L; i++) { in testCompareLongs()
511 for (long i = Long.MAX_VALUE; i >= Long.MAX_VALUE - 11L; i--) { in testCompareLongs()