()
| 486 | } |
| 487 | |
| 488 | @Test |
| 489 | public void testFdCache() { |
| 490 | for (int index = 0; index < 128; index++) { |
| 491 | int NON_CACHED = (2 << 30); |
| 492 | long fd = Numbers.encodeLowHighInts(index | NON_CACHED, 3342); |
| 493 | int fdKind = (Numbers.decodeLowInt(fd) >>> 30) & 3; |
| 494 | Assert.assertTrue(fdKind > 1); |
| 495 | |
| 496 | int RO_MASK = 0; |
| 497 | fd = Numbers.encodeLowHighInts(index | RO_MASK, 78234); |
| 498 | fdKind = (Numbers.decodeLowInt(fd) >>> 30) & 3; |
| 499 | Assert.assertEquals(0, fdKind); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | @Test |
| 504 | public void testHardLinkAsciiName() throws Exception { |
nothing calls this directly
no test coverage detected