- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 1,790 for threw (0.04 sec)
-
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
assertFailsWith<IOException> { anotherClient.newCall(request).execute() }.also { expected -> when (expected) { is SSLException, is TlsFatalAlert -> {} else -> throw expected } } } @Test fun connectionsAreNotReusedIfHostnameVerifierChanges() { enableHttps() server.enqueue(MockResponse()) server.enqueue(MockResponse())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
PUNYCODE, /** This code point is special and should not be tested. */ SKIP, ; open fun encode(codePoint: Int): String { throw UnsupportedOperationException() } } enum class Component { USER { override fun urlString(value: String): String = "http://$******@****.***/"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
// creation cost. @CanIgnoreReturnValue static Object checkElementNotNull(@CheckForNull Object element, int index) { if (element == null) { throw new NullPointerException("at index " + index); } return element; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Cache.java
* state other than that in the key. * * <p><b>Warning:</b> as with {@link CacheLoader#load}, {@code loader} <b>must not</b> return * {@code null}; it may either return a non-null value or throw an exception. * * <p>No observable state associated with this cache is modified until loading completes. * * @throws ExecutionException if a checked exception was thrown while loading the value
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
AtomicDoubleArray aa = new AtomicDoubleArray(0); assertEquals(0, aa.length()); assertThrows(IndexOutOfBoundsException.class, () -> aa.get(0)); } /** get and set for out of bound indices throw IndexOutOfBoundsException */ public void testIndexing() { AtomicDoubleArray aa = new AtomicDoubleArray(SIZE); for (int index : new int[] {-1, SIZE}) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K bytes - Viewed (0) -
internal/etag/etag.go
// // For example: ceb8853ddc5086cc4ab9e149f8f09c88-5 // // However, this scheme is only used for multipart objects that are // not encrypted. // // # Server-side Encryption // // S3 specifies three types of server-side-encryption - SSE-C, SSE-S3 // and SSE-KMS - with different semantics w.r.t. ETags. // In case of SSE-S3, the ETag of an object is computed the same as
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
* despite physically existing in the class path. */ public final URL url() { URL url = loader.getResource(resourceName); if (url == null) { throw new NoSuchElementException(resourceName); } return url; } /** * Returns a {@link ByteSource} view of the resource from which its bytes can be read. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
for ( int i = 0; i < 8; i++ ) { if ( material[ i ] != NTLMSSP_SIGNATURE[ i ] ) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if ( readULong(material, pos) != NTLMSSP_TYPE3 ) { throw new IOException("Not a Type 3 message."); } pos += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals("Ordering.explicit([0])", c.toString()); } public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
assertEquals("Ordering.explicit([0])", c.toString()); } public void testExplicitMax_b297601553() { Ordering<Integer> c = Ordering.explicit(1, 2, 3); // TODO(b/297601553): this should probably throw an CCE since 0 isn't explicitly listed assertEquals(0, (int) c.max(asList(0))); IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.max(asList(0, 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)