- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testAvailable (0.65 sec)
-
src/test/java/jcifs/pac/PacDataInputStreamTest.java
pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 }); pdis.readByte(); // position is 1 pdis.align(0); assertEquals(3, pdis.available()); } @Test public void testAvailable() throws IOException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; PacDataInputStream pdis = createInputStream(data); assertEquals(4, pdis.available()); pdis.readByte();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
} // File should be deleted after close // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this } public void test_available() throws Exception { // Create a temporary file with test data File tempFile = File.createTempFile("test-", ".tmp"); try (FileOutputStream fos = new FileOutputStream(tempFile)) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0)