Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for executors (0.19 sec)

  1. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Math.max;
    import static java.lang.Thread.State.WAITING;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

    import static com.google.common.util.concurrent.MoreExecutors.listeningDecorator;
    import static java.lang.Math.max;
    import static java.lang.Thread.State.WAITING;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  4. 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);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

                {@code Boolean}. Default value is {@code false}.
              </description>
            </field>
            <field>
              <name>executions</name>
              <version>4.0.0+</version>
              <description>Multiple specifications of a set of goals to execute during the build
                lifecycle, each having (possibly) a different configuration.</description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Result */
        public static final String LABELS_SCRIPT_RESULT = "{labels.scriptResult}";
    
        /** The key of the message: Executor */
        public static final String LABELS_SCRIPT_TYPE = "{labels.scriptType}";
    
        /** The key of the message: Segmentation */
        public static final String LABELS_SEGMENTATION = "{labels.segmentation}";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 146.4K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    </pre>
    
    <pre>
    if x &gt; max {
    	x = max
    }
    </pre>
    
    <p>
    The expression may be preceded by a simple statement, which
    executes before the expression is evaluated.
    </p>
    
    <pre>
    if x := f(); x &lt; y {
    	return x
    } else if x &gt; z {
    	return z
    } else {
    	return y
    }
    </pre>
    
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    unhappy at the number of executions the Queen had ordered.
    
      They very soon came upon a Gryphon, lying fast asleep in the
    sun.  (IF you don't know what a Gryphon is, look at the picture.)
    `Up, lazy thing!' said the Queen, `and take this young lady to
    see the Mock Turtle, and to hear his history.  I must go back and
    see after some executions I have ordered'; and she walked off,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
Back to top