- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,333 for unexpected (0.08 sec)
-
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertThat(e).hasMessageThat().contains("Unexpected interrupt"); assertThat(e).hasCauseThat().isInstanceOf(InterruptedException.class); } public void testAwait_countDownLatch_interrupted() { Interruptenator interruptenator = new Interruptenator(Thread.currentThread()); try { CountDownLatch latch = new CountDownLatch(1); RuntimeException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.9K 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) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
pkcs8Base64 = match.groups[2]!!.value // Include the contents only for PKCS8. } else -> { throw IllegalArgumentException("unexpected type: $label") } } } require(certificatePem != null) { "string does not include a certificate" } require(pkcs8Base64 != null) { "string does not include a private key" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
@Override public void decode(final NdrBuffer buf) throws NdrException { decode_header(buf); if (ptype != 12 && ptype != 2 && ptype != 3 && ptype != 13) { throw new NdrException("Unexpected ptype: " + ptype); } if (ptype == 2 || ptype == 3) { /* Response or Fault */ 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 - 6K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
if s3Err != ErrNone { t.Fatalf("Unexpected failure with %v", errorCodes.ToAPIErr(s3Err)) } if !owner { t.Fatalf("Expected owner to be 'true', found %t", owner) } _, _, s3Err = checkKeyValid(req, "does-not-exist") if s3Err != ErrInvalidAccessKeyID { t.Fatalf("Expected error 'ErrInvalidAccessKeyID', found %v", s3Err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
} exchange.responseHeadersEnd(response) val isUpgradeCode = code == HTTP_SWITCHING_PROTOCOLS if (isUpgradeCode && exchange.connection.isMultiplexed) { throw ProtocolException("Unexpected $HTTP_SWITCHING_PROTOCOLS code on HTTP/2 connection") } val isUpgradeResponse = isUpgradeCode && "upgrade".equals(response.header("Connection"), ignoreCase = true)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
} merged := mergeXLV2Versions(i, false, 0, vMod...) if len(merged) == 0 && i < 2 { t.Error("Did not get any results") return } if len(merged) > 0 && i >= 2 { t.Error("Got unexpected results") return } for _, ver := range merged { if ver.header.Type == invalidVersionType { t.Errorf("Invalid result returned: %v", ver.header) } } })
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
// Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("INVALID")); } } public void test_valueOf_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
boundary = "simple boundary", source = Buffer().writeUtf8(multipart), ) assertFailsWith<ProtocolException> { parts.nextPart() }.also { expected -> assertThat(expected).hasMessage("unexpected characters after boundary") } } @Test fun `whitespace before close delimiter`() { val multipart = """ |--simple boundary | |abcd
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0)