- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 936 for Execute (0.15 sec)
-
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} }); CommonPoolUtil.execute(() -> { try { CloseableUtil.closeQuietly(p.getErrorStream()); } catch (final Exception e) { logger.warn("Could not close a process error stream.", e); } }); CommonPoolUtil.execute(() -> { try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K 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()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CorrettoTest.kt
client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork() val request = Request.Builder().url("https://google.com/robots.txt").build() client.newCall(request).execute().use {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
@After fun tearDown() { engine.shutdown() cacheDir.deleteRecursively() } @Test fun get() { val executor = Executors.newCachedThreadPool() val completableFuture = execute(engine, executor, "https://google.com/robots.txt") try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java
import org.apache.maven.api.annotations.ThreadSafe; /** * This interface forms the contract required for Mojos to interact with the Maven infrastructure. * It features an {@link #execute()} method, which triggers the Mojo's build-process behavior, * and can throw a {@link MojoException} if error conditions occur. * * @since 4.0.0 */ @Experimental @FunctionalInterface @Consumer @ThreadSafe
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Aug 26 13:14:03 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/StatementUtil.java
* SQL文字列。{@literal null}や空文字列であってはいけません * @return 実行した結果 * @see Statement#execute(String) */ public static boolean execute(final Statement statement, final String sql) { assertArgumentNotNull("statement", statement); assertArgumentNotEmpty("sql", sql); try { return statement.execute(sql); } catch (final SQLException ex) { throw new SQLRuntimeException(ex);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
@Resource protected SearchEngineClient searchEngineClient; // =================================================================================== // Search Execute // // POST /api/admin/documents/bulk @Execute public JsonResponse<ApiResult> post$bulk(final BulkBody body) { validateApi(body, messages -> {}); if (body.documents == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 7.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
Listener(Runnable command, Executor executor) { this.command = checkNotNull(command); this.executor = checkNotNull(executor); } void execute() { try { executor.execute(command); } catch (RuntimeException e) { log.log( Level.SEVERE, "RuntimeException while executing runnable " + command + " with executor " + executor,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 19:37:41 UTC 2024 - 12.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
.build() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt") .build() val response1Body = client.newCall(request).execute().use { if (!it.isSuccessful) throw IOException("Unexpected code $it") println("Response 1 response: $it") println("Response 1 cache response: ${it.cacheResponse}")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
} fail("Expected connection to be closed") } }, ), ) cancelLater(call, 500) assertFailsWith<IOException> { call.execute() }.also { expected -> assertEquals(cancelMode == INTERRUPT, Thread.interrupted()) } } @ParameterizedTest @ArgumentsSource(CancelModelParamProvider::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0)