- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 158 for incomplete (0.04 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
}); assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType should throw IOException on incomplete header") void testReadPacketTypeIncompleteHeader() { byte[] headerData = { (byte) 0x81, (byte) 0x00 }; // Only 2 bytes instead of 4 ByteArrayInputStream bais = new ByteArrayInputStream(headerData);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
int bytesRead = readPacket.readTrailerWireFormat(bais, buffer, 0); assertEquals(written, bytesRead); } @Test @DisplayName("readTrailerWireFormat should throw IOException on incomplete data") void testReadTrailerWireFormatIncompleteData() { byte[] buffer = new byte[10]; // Too small buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
*/ @Nullable Executor delegate; /** * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this * object may live on after, if submitAsync returns an incomplete future. */ @Nullable Runnable task; /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */ @LazyInit @Nullable Thread submitting;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
final SitemapSet sitemapSet = sitemapsHelper.parse(in); final Sitemap[] sitemaps = sitemapSet.getSitemaps(); // Should parse URL and all images (even incomplete ones) assertEquals(1, sitemaps.length); final SitemapUrl sitemapUrl = (SitemapUrl) sitemaps[0]; assertEquals("http://www.example.com/page.html", sitemapUrl.getLoc());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("EOF handling when stream ends mid-header") void eofHandlingMidHeader() throws IOException { // Create incomplete header (only 2 bytes instead of 4) byte[] incompleteHeader = new byte[] { (byte) SessionServicePacket.SESSION_MESSAGE, 0 }; InputStream in = new ByteArrayInputStream(incompleteHeader);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
*/ @Nullable Executor delegate; /** * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this * object may live on after, if submitAsync returns an incomplete future. */ @Nullable Runnable task; /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */ @LazyInit @Nullable Thread submitting;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
// OpenJDK behavior: end of stream. assertThat(byteRead).isEqualTo(-1) } catch (e: ProtocolException) { // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp // treats an incomplete response body as a ProtocolException. } catch (ioe: IOException) { // Change in https://bugs.openjdk.org/browse/JDK-8335135 assertThat(ioe.message).isEqualTo("Premature EOF") } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
// OpenJDK behavior: end of stream. assertThat(byteRead).isEqualTo(-1) } catch (e: ProtocolException) { // On Android, HttpURLConnection is implemented by OkHttp v2. OkHttp // treats an incomplete response body as a ProtocolException. } catch (ioe: IOException) { // Change in https://bugs.openjdk.org/browse/JDK-8335135 assertThat(ioe.message).isEqualTo("Premature EOF") } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
*/ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Checks if the complete directory enumeration has been cached * @return true if full enumeration is cached */ public boolean isComplete() { return isComplete; } /** * Gets the cache scope (ALL or IMMEDIATE_CHILDREN) * @return the cache scope */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache directoryLeaseManager.updateDirectoryCache(directoryPath, files); assertTrue(cacheEntry.isComplete()); // Simulate lease break with loss of read cacheRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0)