- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 721 for executer (0.06 seconds)
-
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
Preconditions.checkNotNull(unit, "unit must not be null!"); return delegate.invokeAny(tasks, timeout, unit); } @Override public void execute(Runnable command) { Preconditions.checkNotNull(command, "command must not be null!"); delegate.execute(command); } @Override public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:37:28 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt
.build() } private fun newVirtualThreadPerTaskExecutor(): ExecutorService = Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService @Test fun testRequest() { server.enqueue(MockResponse()) val request = Request(server.url("/")) client.newCall(request).execute().use { assertThat(it.code).isEqualTo(200) } } @Test
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java
int numThreads = 10; int numIterations = 100; ExecutorService executor = Executors.newFixedThreadPool(numThreads); CountDownLatch latch = new CountDownLatch(numThreads); AtomicReference<Exception> exception = new AtomicReference<>(); for (int i = 0; i < numThreads; i++) { executor.submit(() -> { try { for (int j = 0; j < numIterations; j++) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 8.9K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
} rec := httptest.NewRecorder() // Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler. // Call the ServeHTTP to executes the registered handler. apiRouter.ServeHTTP(rec, req) // Assert the response code with the expected status. if rec.Code != testCase.expectedRespStatus {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
} interface Chain { fun request(): Request @Throws(IOException::class) fun proceed(request: Request): Response /** * Returns the connection the request will be executed on. This is only available in the chains * of network interceptors; for application interceptors this is always null. */ fun connection(): Connection? fun call(): CallCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
c1.enqueue(callback) c2.enqueue(callback) c1.cancel() executor.assertJobs("http://a/1") executor.finishJob("http://a/1") executor.assertJobs("http://a/2") } @Test fun asyncCallAccessors() { dispatcher.maxRequests = 3 val a1 = client.newCall(newRequest("http://a/1")) val a2 = client.newCall(newRequest("http://a/2"))
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* exception itself. * @param executor the executor that runs {@code fallback} if the input fails */ public <X extends Throwable> ClosingFuture<V> catching( Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) { return catchingMoreGeneric(exceptionType, fallback, executor); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
docs/pt/docs/virtual-environments.md
Um `requirements.txt` com alguns pacotes poderia se parecer com: ```requirements.txt fastapi[standard]==0.113.0 pydantic==2.8.0 ``` /// ## Execute seu programa { #run-your-program } Depois de ativar o ambiente virtual, você pode executar seu programa, e ele usará o Python dentro do seu ambiente virtual com os pacotes que você instalou lá. <div class="termy"> ```console $ python main.pyCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 23.7K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
Only the code prior to and including the `yield` statement is executed before creating a response: {* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *} The yielded value is what is injected into *path operations* and other dependencies: {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *} The code following the `yield` statement is executed after the response:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.9K bytes - Click Count (0) -
docs/es/docs/tutorial/middleware.md
* Toma cada **request** que llega a tu aplicación. * Puede entonces hacer algo a esa **request** o ejecutar cualquier código necesario. * Luego pasa la **request** para que sea procesada por el resto de la aplicación (por alguna *path operation*). * Después toma la **response** generada por la aplicación (por alguna *path operation*). * Puede hacer algo a esa **response** o ejecutar cualquier código necesario. * Luego devuelve la **response**.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.3K bytes - Click Count (0)