- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 974 for Unexpected (0.08 sec)
-
src/main/java/jcifs/netbios/SessionServicePacket.java
int n = readn(in, buffer, bufferIndex, HEADER_LENGTH); if (n != HEADER_LENGTH) { if (n == -1) { return -1; } throw new IOException("unexpected EOF reading netbios session header"); } return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
apply { val encoded = host.percentDecode().toCanonicalHost() ?: throw IllegalArgumentException("unexpected host: $host") this.host = encoded } fun port(port: Int) = apply { require(port in 1..65535) { "unexpected port: $port" } this.port = port } fun addPathSegment(pathSegment: String) = apply {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
.post(new ProgressRequestBody(requestBody, progressListener)) .build(); Response response = client.newCall(request).execute(); if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } public static void main(String... args) throws Exception { new UploadProgress().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
// Instead of directly calling expired() which may fail due to system dependencies // in test environments, we test that the method exists and can be invoked // without throwing unexpected exceptions try { // Create a new instance to ensure clean state SystemMonitorTarget testTarget = new SystemMonitorTarget(); // Try to call the expired method
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
get() { return when (signature.algorithm) { ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> "SHA256WithRSA" ObjectIdentifiers.SHA256_WITH_ECDSA -> "SHA256withECDSA" else -> error("unexpected signature algorithm: ${signature.algorithm}") } } // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt
import okhttp3.WebSocketListener import okhttp3.internal.http2.Settings import okio.Buffer import org.junit.Ignore import org.junit.Test /** * Access every type, function, and property from Kotlin to defend against unexpected regressions in * modern 4.0.x kotlin source-compatibility. */ @Suppress( "ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE", "UNUSED_ANONYMOUS_PARAMETER", "UNUSED_VALUE", "UNUSED_VARIABLE",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
} catch (e: IOException) { logger.log(Level.INFO, "Http2Server connection failure: $e") socket?.closeQuietly() } catch (e: Exception) { logger.log(Level.WARNING, "Http2Server unexpected failure", e) socket?.closeQuietly() } } } private fun doSsl(socket: Socket): SSLSocket { val sslSocket = sslSocketFactory.createSocket( socket,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
public void decode(final NdrBuffer buf) throws NdrException { decode_header(buf); if (this.ptype != 12 && this.ptype != 2 && this.ptype != 3 && this.ptype != 13) { throw new NdrException("Unexpected ptype: " + this.ptype); } if (this.ptype == 2 || this.ptype == 3) { /* Response or Fault */ this.alloc_hint = buf.dec_ndr_long(); buf.dec_ndr_short(); /* context id */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
Request .Builder() .url("https://prod.idrix.eu/secure/") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } } object ConsoleCallbackHandler : CallbackHandler { override fun handle(callbacks: Array<Callback>) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
.post(jsonRequestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new RequestBodyCompression().run(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 3.1K bytes - Viewed (0)