- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 842 for IOException (0.05 sec)
-
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// another packet header, but since there's no more data, it will throw IOException assertThrows(IOException.class, () -> sis.read()); } @Test @DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
public MediaType contentType() { return delegate.contentType(); } @Override public long contentLength() throws IOException { return delegate.contentLength(); } @Override public void writeTo(BufferedSink sink) throws IOException { BufferedSink bufferedSink = Okio.buffer(sink(sink)); delegate.writeTo(bufferedSink); bufferedSink.flush(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.authenticator import java.io.IOException import java.net.Authenticator import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import okhttp3.Credentials import okhttp3.Dns import okhttp3.HttpUrl import okhttp3.Request
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
handleManager.completeReconnect(handle.path, true); } else { handleManager.completeReconnect(handle.path, false); throw new IOException("Failed to reconnect durable handle"); } } @Override public void close() throws IOException { try { // Normal close operations super.close(); } finally { // Don't release durable handle on close if it's persistent
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/EncodingFilterTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.filter; import java.io.IOException; import java.util.Map; import org.codelibs.fess.unit.UnitFessTestCase; public class EncodingFilterTest extends UnitFessTestCase { public void test_normal() throws IOException { final EncodingFilter filter = new EncodingFilter(); Map<String, String[]> paramMap;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
SmbFileInputStream in = newStream(); // closing should null tmp; subsequent readDirect should fail in.close(); IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4)); assertTrue(ex.getMessage().contains("Bad file descriptor")); } @Test @DisplayName("available always returns 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
assertEquals(1, securityExceptions.length, "getSecurity() should declare IOException"); assertEquals(IOException.class, securityExceptions[0], "Should declare IOException"); assertEquals(1, ownerExceptions.length, "getOwnerUser() should declare IOException"); assertEquals(IOException.class, ownerExceptions[0], "Should declare IOException"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import java.io.IOException import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import okhttp3.internal.SuppressSignatureCheck /** Data classes that correspond to each of the methods of [EventListener]. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
@Override public InputStream getContentAsStream() throws IOException { return new FileInputStream(testFile); } @Override public void close() throws IOException { // Nothing to close } };Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertTrue(exception instanceof java.io.Serializable); } /** * Helper class for testing - not actually needed but demonstrates IOException usage */ private static class IOException extends Exception { public IOException(String message) { super(message); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)