Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,019 for take (0.41 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        }
    
        taskFaker.runTasks()
        assertEvents(
          "take plan 0",
          "plan 0 TCP connecting...",
        )
    
        taskFaker.advanceUntil(250.ms)
        assertEvents(
          "take plan 1",
          "plan 1 TCP connecting...",
        )
    
        taskFaker.advanceUntil(500.ms)
        assertEvents(
          "take plan 2",
          "plan 0 cancel",
          "plan 1 cancel",
        )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
      private static final class TimedTakeQueue {
        final BlockingQueue<String> queue;
        final Completion completed;
    
        /**
         * Creates a {@link EnableReads} which insert an element for a {@code take} to receive in {@code
         * countdownInMillis}.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
      private static final class TimedTakeQueue {
        final BlockingQueue<String> queue;
        final Completion completed;
    
        /**
         * Creates a {@link EnableReads} which insert an element for a {@code take} to receive in {@code
         * countdownInMillis}.
         */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  4. docs/en/docs/async.md

    Instead of that, by being an "asynchronous" system, once finished, the task can wait in line a little bit (some microseconds) for the computer / program to finish whatever it went to do, and then come back to take the results and continue working with them.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/index.md

    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable"
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    === "Python 3.10+"
    
        ```Python hl_lines="8-9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="8-11"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

        git config user.email ******@****.***
    
    #### Import Gradle into IntelliJ
    
    To import Gradle into IntelliJ:
    - Open the `build.gradle.kts` file with IntelliJ and choose "Open as Project"
    - Make sure "Create separate module per source set" is selected
    - Make sure  "Use default gradle wrapper" is selected
    - Select a Java 11 VM as "Gradle JVM"
    - In the "File already exists" dialogue, choose "Yes" to overwrite
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 15:30:53 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/offline-mode.apt

      latest version of some snapshot artifact. If m2 is offline, SCM operations
      cannot succeed; no artifact downloads can take place, regardless of whether
      they are snapshot versions; artifact deployment cannot take place; certain
      types of tests cannot be setup, since the container used to run them cannot be
      reached or started.
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          }
        }
      }
    
      /** Invokes {@code queue.}{@link BlockingQueue#take() take()} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static <E> E takeUninterruptibly(BlockingQueue<E> queue) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              return queue.take();
            } catch (InterruptedException e) {
              interrupted = true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased.
     * Attempts to {@code put} an element into a full queue will result in the operation blocking;
     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top