- Sort Score
- Result 10 results
- Languages All
Results 2621 - 2630 of 2,652 for throwIt (0.05 sec)
-
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.assertNoMoreLogs() } @Test fun connectFail() { setLevel(Level.BASIC) client = OkHttpClient.Builder() .dns { hostname: String? -> throw UnknownHostException("reason") } .addInterceptor(applicationInterceptor) .build() try { client.newCall(request().build()).execute() fail<Any>()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester @SuppressWarnings("unchecked") public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception { // Tests that serializing a map, its keySet, and values only writes the underlying data once. Object[] entries = new Object[2000]; for (int i = 0; i < entries.length; i++) { entries[i] = i;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
private static Iterable<MapMaker> allWeakValueStrengthMakers() { return ImmutableList.of( createMapMaker().weakValues(), createMapMaker().weakKeys().weakValues()); } public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(makeMap(createMapMaker())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
private static Iterable<MapMaker> allWeakValueStrengthMakers() { return ImmutableList.of( createMapMaker().weakValues(), createMapMaker().weakKeys().weakValues()); } public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(makeMap(createMapMaker())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(get(url).body.string()).isEqualTo("A") // Confirm the interceptor isn't exercised. client = client.newBuilder() .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() }) .build() assertThat(get(url).body.string()).isEqualTo("A") } @Test fun iterateCache() { // Put some responses in the cache. server.enqueue(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js
(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=te&&!!(window.MSInputMethodContext&&document.documentMode),pe=te&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},de=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 20.7K bytes - Viewed (0) -
cmd/object-multipart-handlers.go
} clientETag, err := etag.FromContentMD5(r.Header) if err != nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidDigest), r.URL) return } // if Content-Length is unknown/missing, throw away size := r.ContentLength rAuthType := getRequestAuthType(r) // For auth type streaming signature, we need to gather a different content length. switch rAuthType {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 31 18:25:48 UTC 2024 - 39.2K 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) -
cmd/erasure-sets.go
var wg sync.WaitGroup wg.Add(len(s.sets)) for _, s := range s.sets { go func(s *erasureObjects) { defer wg.Done() // This is a force delete, no reason to throw errors. s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true}) }(s) } wg.Wait() return nil } // DeleteObject - deletes an object from the hashedSet based on the object name.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1)