- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,032 for call1 (0.37 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// racing addListener calls and addListener calls completing after the future completes. Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(callable(listener)); allTasks.add( new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
/** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()"); } private CollectPreconditions() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
// TODO: test whether null is supported (create a Feature) /** * The elements to be returned by future calls to {@code next()}, with the first at the top of * the stack. */ final Stack<E> nextElements = new Stack<>(); /** * The elements to be returned by future calls to {@code previous()}, with the first at the top * of the stack. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
// Test that multiple calls to aborted() return the same value String url = "http://example.com/test"; String message = "Test message"; Exception cause = new RuntimeException("Test cause"); boolean abort = true; DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort); // Call aborted() multiple times
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
val request2 = Request.Builder().url(server.url("/")).build() val response2 = client.newCall(request2).execute() assertThat(response2.body.string()).isEqualTo("def") // The HTTP calls should share a single connection. assertThat(socksProxy.connectionCount()).isEqualTo(1) } @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
// After first call isPrimary should be false assertFalse(d.getIsPrimary(), "isPrimary should be cleared after first call"); // Second call keeps the same state SmbComTransactionResponse r2 = (SmbComTransactionResponse) d.nextElement(); assertSame(d, r2, "Subsequent calls still return same instance");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
* @param callable the callable to execute * @return the result * @throws Exception if execution fails or circuit is open */ public <T> T call(Callable<T> callable) throws Exception { return call(callable, null); } /** * Execute a callable through the circuit breaker with fallback * * @param <T> return type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// racing addListener calls and addListener calls completing after the future completes. Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(callable(listener)); allTasks.add( new Callable<@Nullable Void>() { @Override public @Nullable Void call() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
int timeout3 = delegatingConfig.getResponseTimeout(); // Then assertEquals(30000, timeout1, "First call should return correct value"); assertEquals(30000, timeout2, "Second call should return correct value"); assertEquals(30000, timeout3, "Third call should return correct value"); verify(mockDelegate, times(3)).getResponseTimeout(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertNotNull(option1); assertNotNull(option2); // Each call should return a new instance assertNotSame(option1, option2); } public void test_provideMappingOption_consistency() { // Test that multiple calls provide consistent configuration JsonMappingOption option1 = provider.provideMappingOption();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0)