- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for executer (0.26 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
static class ExecutorSpy implements Executor { Executor delegate; boolean wasExecuted; public ExecutorSpy(Executor delegate) { this.delegate = delegate; } @Override public void execute(Runnable command) { delegate.execute(command); wasExecuted = true; } } public void testTransform_Executor() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
.body("def") .throttleBody(1, 750, TimeUnit.MILLISECONDS) .build(), ) val call = client.newCall(Request(server.url("/a"))) val executor = Executors.newSingleThreadExecutor() val result = executor.submit<Response?> { call.execute() } Thread.sleep(100) // wait for it to go in flight. call.cancel() assertFailsWith<IOException> { result.get()!!.body.bytes() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
static class ExecutorSpy implements Executor { Executor delegate; boolean wasExecuted; public ExecutorSpy(Executor delegate) { this.delegate = delegate; } @Override public void execute(Runnable command) { delegate.execute(command); wasExecuted = true; } } public void testTransform_Executor() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (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); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Failed to create HTTP request for NewMultipart Request: <ERROR> %v", err) } // 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 != http.StatusOK {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 160K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) // execute the HTTP request. response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, "my-object-directory/"), 0, nil, s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) // execute the HTTP request.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
server.enqueue(mockResponse.build()) client.newCall(request).execute().use { it.body.bytes() } return client.newCall(request).execute() } private operator fun get(url: HttpUrl): Response { val request = Request.Builder() .url(url) .build() return client.newCall(request).execute() } private fun writeFile( directory: Path,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLandroidx/arch/core/executor/ArchTaskExecutor;-><init>()V HSPLandroidx/arch/core/executor/ArchTaskExecutor;->getInstance()Landroidx/arch/core/executor/ArchTaskExecutor; HSPLandroidx/arch/core/executor/DefaultTaskExecutor$1;-><init>(Landroidx/arch/core/executor/DefaultTaskExecutor;)V HSPLandroidx/arch/core/executor/DefaultTaskExecutor;-><init>()V HSPLandroidx/arch/core/executor/DefaultTaskExecutor;->isMainThread()Z HSPLandroidx/arch/core/executor/TaskExecutor;-><init>()V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar
InitializeResourcesP extends AbstractContainerIni { public void InitializeResourcesP(); public void execute(ContainerInitializat) throws ContainerInitializat; } org/codehaus/plexus/container/initialization/InitializeSystemProp.class package org.codehaus.plexus.container.initialization; public synchronized class InitializeSystemProp extends AbstractContainerIni { public void InitializeSystemProp(); public void execute(ContainerInitializat) throws ContainerInitializat; } org/codehaus/plexus/container/initia...
Archive - Registered: Sun Mar 31 03:35:09 GMT 2024 - Last Modified: Tue Oct 16 20:15:40 GMT 2007 - 205.7K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar
InitializeResourcesP extends AbstractContainerIni { public void InitializeResourcesP(); public void execute(ContainerInitializat) throws ContainerInitializat; } org/codehaus/plexus/container/initialization/InitializeSystemProp.class package org.codehaus.plexus.container.initialization; public synchronized class InitializeSystemProp extends AbstractContainerIni { public void InitializeSystemProp(); public void execute(ContainerInitializat) throws ContainerInitializat; } org/codehaus/plexus/container/initia...
Archive - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 205.7K bytes - Viewed (0)