- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 842 for IOException (0.04 sec)
-
src/main/java/jcifs/util/transport/Transport.java
* @param len the number of bytes to read * @return number of bytes read * @throws IOException if an I/O error occurs */ public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException { int i = 0, n = -5; if (off + len > b.length) { throw new IOException("Buffer too short, bufsize " + b.length + " read " + len); } while (i < len) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener, ) : RequestBody() { override fun contentType() = delegate.contentType() @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
* @param address the NetBIOS address to connect to * @param port the port number, or 0 for the default NetBIOS session service port * @throws IOException if an I/O error occurs while creating the socket */ public NbtSocket(final NbtAddress address, final int port) throws IOException { this(address, port, null, 0); } /** * Constructs an NbtSocket with specified local and remote addresses. *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
import java.io.BufferedWriter; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
fnfe.printStackTrace(log); } } catch (final IOException ioe) { if (LogStream.level > 0) { ioe.printStackTrace(log); } } return result; } static void populate(final Reader r) throws IOException { String line; final BufferedReader br = new BufferedReader(r);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
} /** * Test constructor with KERB_CHECKSUM_HMAC_MD5 type. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if the PAC is malformed */ @Test void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException { // Prepare data ByteArrayOutputStream baos = new ByteArrayOutputStream();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
private NtlmHttpURLConnection ntlmConnection; /** * Sets up the mocks and the NtlmHttpURLConnection instance before each test. * @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
*/ open class DelegatingSSLSocketFactory( private val delegate: SSLSocketFactory, ) : SSLSocketFactory() { @Throws(IOException::class) override fun createSocket(): SSLSocket { val sslSocket = delegate.createSocket() as SSLSocket return configureSocket(sslSocket) } @Throws(IOException::class) override fun createSocket( host: String, port: Int, ): SSLSocket {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
* @param access the desired access rights * @param sid the security identifier of the domain * @throws IOException if an I/O error occurs during handle creation */ public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid) throws IOException { this.handle = handle;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
* @param server the server name (null defaults to local server) * @param access the desired access rights * @throws IOException if an I/O error occurs during handle creation */ public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException { this.handle = handle; if (server == null) { server = "\\\\"; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0)