- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 934 for Executed (0.05 seconds)
-
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
req.threshold(0); // always create tmp file // ## Act ## long before = countTmpFiles(); logger.info("Before request. Number of temp files: " + before); req.execute(res -> { logger.info("Processing request. Number of temp files: " + countTmpFiles()); }, e -> {}); long after = countTmpFiles();
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Sat May 10 01:44:04 GMT 2025 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
private Thread executionThread; private Throwable thrownByExecutionThread; private final Executor exceptionCatchingExecutor = new Executor() { @Override public void execute(Runnable command) { executionThread = new Thread(command); executionThread.setUncaughtExceptionHandler( new UncaughtExceptionHandler() { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 12.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
}; 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> { @Nullable private String value = null;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
awaitUnchecked(barrier); task.run(); awaitUnchecked(barrier); } }; 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()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
} } // Note that this may be be an encoded "end of data" header. return DerHeader(tagClass, tag, constructed, length) } /** * Consume a header and execute [block], which should consume the entire value described by the * header. It is an error to not consume a full value in [block]. */ internal inline fun <T> read( name: String?, block: (DerHeader) -> T,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.5K bytes - Click Count (0) -
README.md
```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } ``` Post to a Server ---------------- This program posts data to a service. [Full source][post_example]. ```java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
.body(new ProgressResponseBody(originalResponse.body(), progressListener)) .build(); }) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.9K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) { return new MavenExecutionPlan(null, new DefaultLifecycles()); } @Override public void execute(MavenSession session) {} @Override public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) { Set<Plugin> plugins;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
richReport.getDestinationDir().convention(project.layout.buildDirectory.dir("reports")); configureReport.execute(richReport) richReport.tap { def acceptedChanges = new AcceptedViolationsProvider(acceptedViolationsDir) def ruleParams = [
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:14:25 GMT 2025 - 5.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java
private final Map<String, String> params; public UpgradePropertiesRuleSetup(Map<String, String> params) { this.params = params; } @Override public void execute(ViolationCheckContext context) { List<UpgradedProperty> currentUpgradedProperties = UpgradedProperties.parse(params.get(CURRENT_UPGRADED_PROPERTIES_KEY));Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:30:48 GMT 2024 - 4.5K bytes - Click Count (0)