Searched refs:overlaps (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 168 assertTrue(mockLock.overlaps(0, 11)); in test_overlaps_JJ() 169 assertFalse(mockLock.overlaps(0, 10)); in test_overlaps_JJ() 170 assertTrue(mockLock.overlaps(100, 110)); in test_overlaps_JJ() 171 assertTrue(mockLock.overlaps(99, 110)); in test_overlaps_JJ() 172 assertFalse(mockLock.overlaps(-1, 10)); in test_overlaps_JJ() 174 assertTrue(mockLock.overlaps(1, 120)); in test_overlaps_JJ() 175 assertTrue(mockLock.overlaps(20, 50)); in test_overlaps_JJ()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileLock.java | 286 public final boolean overlaps(long position, long size) { in overlaps() method in FileLock
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockTable.java | 254 if (fl != null && fl.overlaps(position, size)) in checkList()
|
D | FileChannelImpl.java | 1231 if (fl.overlaps(position, size)) { in checkList()
|
/libcore/api/ |
D | current.txt | 6791 method public final boolean overlaps(long, long);
|