- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 845 for executes (0.13 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
int sessionCount = 10; ExecutorService executor = Executors.newFixedThreadPool(5); CountDownLatch latch = new CountDownLatch(sessionCount); for (int i = 0; i < sessionCount; i++) { final int sessionIndex = i; executor.submit(() -> { try { String sessionId = "concurrent-session-" + sessionIndex;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
.build(); } else { System.out.println("Force cache: false"); clientForCall = client; } try (Response response = clientForCall.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(" Network: " + (response.networkResponse() != null)); System.out.println(); }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 2.6K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
docs/features/events.md
.build(); System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
.addHeader("Accept", "application/json; q=0.5") .addHeader("Accept", "application/vnd.github.v3+json") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println("Server: " + response.header("Server")); System.out.println("Date: " + response.header("Date"));
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.6K bytes - Viewed (0) -
.github/workflows/stale-pr.yml
name: 'Close stale PRs' on: schedule: # Execute every hour at xx:05 to avoid conflicts with other workflows - cron: '5 * * * *' permissions: {} jobs: stale: permissions: pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/stale@v10 with: operations-per-run: 50 ascending: true exempt-all-milestones: true
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Sep 04 22:13:29 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
import com.google.common.util.concurrent.AbstractFutureBenchmarks.Facade; import com.google.common.util.concurrent.AbstractFutureBenchmarks.Impl; import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executor; import org.jspecify.annotations.NullUnmarked; /** Measures the size of AbstractFuture implementations. */ @NullUnmarked public class AbstractFutureFootprintBenchmark { enum State { NOT_DONE,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3K bytes - Viewed (0) -
docs/pt/docs/tutorial/middleware.md
* Ele pode então fazer algo com essa **requisição** ou executar qualquer código necessário. * Então ele passa a **requisição** para ser processada pelo resto do aplicativo (por alguma *operação de rota*). * Ele então pega a **resposta** gerada pelo aplicativo (por alguma *operação de rota*). * Ele pode fazer algo com essa **resposta** ou executar qualquer código necessário. * Então ele retorna a **resposta**.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
public void onFailure(Throwable t) {} }; addCallback(f, callback, directExecutor()); } private class CountingSameThreadExecutor implements Executor { int runCount = 0; @Override public void execute(Runnable command) { command.run(); runCount++; } } private final class MockCallback implements FutureCallback<String> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} }; for (int j = 0; j < 10; j++) { executor.execute(wrapper); } barrier.await(); // release the threads! barrier.await(); // wait for them all to complete assertEquals(1, task.get().intValue()); assertEquals(1, counter.get()); } executor.shutdown(); } @J2ktIncompatible @GwtIncompatible // blocking wait
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0)