- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,167 for call (0.02 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
new ServiceManager(Arrays.<Service>asList(new FailRunService(), new FailStartService())); // Due to the implementation of the two services we know that both are now failed. So the // following awaitHealthy call is just to get the exception. manager.startAsync(); assertThat(manager.servicesByState().get(State.FAILED)).hasSize(2); IllegalStateException e =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 25.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
private var nextQueueName = 10000 private var coordinatorWaiting = false private var coordinatorWakeUpAt = 0L /** * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until * the already-requested ones are in service, otherwise we might create more threads than we need. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
assertFailure { super.testPublicSuffixDb() }.all { hasMessage("Unable to load PublicSuffixDatabase.list resource.") cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* null} if {@code remove()} or {@code add()} has been called more recently than either. We use * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and * push to on a call to {@code set()}). */ @Nullable Stack<E> stackWithLastReturnedElementAtTop = null; MultiExceptionListIterator(List<E> expectedElements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} /** * Test for Guava issue 1061: https://github.com/google/guava/issues/1061 * * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively * reduced the available size of the buffer each time a call to read didn't fill up the available * space in the buffer completely. In general this is a performance problem since the buffer size
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
} /** * Test for Guava issue 1061: https://github.com/google/guava/issues/1061 * * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively * reduced the available size of the buffer each time a call to read didn't fill up the available * space in the buffer completely. In general this is a performance problem since the buffer size
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
* row, and so on. * * <p>Each cell is an immutable snapshot of a row key / column key / value mapping, taken at the * time the cell is returned by a method call to the set or its iterator. */ @Override public Set<Cell<R, C, V>> cellSet() { return super.cellSet(); } @Override Iterator<Cell<R, C, V>> cellIterator() { return new CellIterator(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 30.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} else { current = current.succ(); } return result; } @Override public void remove() { checkState(prevEntry != null, "no calls to next() since the last call to remove()"); setCount(prevEntry.getElement(), 0); prevEntry = null; } }; } @Override Iterator<Entry<E>> descendingEntryIterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Suppresses the assertion on {@link TypeToken#getSupertype}. */ boolean suppressGetSupertype() default false; } private @Nullable Method method = null; /** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/post-policy_test.go
req.Header.Set("Content-Type", contentTypeHdr) req.Header.Set("User-Agent", "Mozilla") // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) ctx, cancel := context.WithCancel(GlobalContext) defer cancel() // Now check if we actually wrote to backend (regardless of the response
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.6K bytes - Viewed (0)