Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for advance (0.17 sec)

  1. android/guava/src/com/google/common/collect/Iterators.java

        int skipped = advance(iterator, position);
        if (!iterator.hasNext()) {
          throw new IndexOutOfBoundsException(
              "position ("
                  + position
                  + ") must be less than the number of elements that remained ("
                  + skipped
                  + ")");
        }
        return iterator.next();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        list.add("b");
        Iterator<String> iterator = list.iterator();
        advance(iterator, 1);
        assertEquals("b", iterator.next());
      }
    
      public void testAdvance_pastEnd() {
        List<String> list = newArrayList();
        list.add("a");
        list.add("b");
        Iterator<String> iterator = list.iterator();
        advance(iterator, 5);
        assertFalse(iterator.hasNext());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertThreadDoesntHoldLock()
    
        taskRunner.lock.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

     * streams.
     *
     * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables produced in this class
     * are <i>lazy</i>, which means that their iterators only advance the backing iteration when
     * absolutely necessary.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#iterables">{@code
     * Iterables}</a>.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        taskFaker.runNextTask()
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
        )
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        // Advance time until the tasks complete.
        taskFaker.advanceUntil(100.µs)
        assertThat(log).containsExactly(
          "red:starting@0",
          "blue:starting@0",
          "red:finishing@100000",
          "blue:finishing@100000",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        ): Boolean {
            /**
             * Avoid shortening reference to enum companion used in enum entry initialization there is no guarantee that the companion object
             * was initialized in advance.
             * For example, When we shorten the following code:
             *     enum class C(val i: Int) {
             *         ONE(<expr>C.K</expr>)  // shorten C.K to K
             *         ;
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

        - Advanced Security:
          - advanced/security/index.md
          - advanced/security/oauth2-scopes.md
          - advanced/security/http-basic-auth.md
        - advanced/using-request-directly.md
        - advanced/dataclasses.md
        - advanced/middleware.md
        - advanced/sub-applications.md
        - advanced/behind-a-proxy.md
        - advanced/templates.md
        - advanced/websockets.md
        - advanced/events.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/index.md

        If you don't want to have those optional dependencies, you can instead install `pip install fastapi-slim`.
    
    ## Advanced User Guide
    
    There is also an **Advanced User Guide** that you can read later after this **Tutorial - User guide**.
    
    The **Advanced User Guide**, builds on this, uses the same concepts, and teaches you some extra features.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

    * 🌐 Add German translation for `docs/de/docs/advanced/advanced-dependencies.md`. PR [#10633](https://github.com/tiangolo/fastapi/pull/10633) by [@nilslindemann](https://github.com/nilslindemann).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  10. docs/distributed/CONFIG.md

          - "https://server{1...2}-pool1:9000/mnt/disk{1...4}/"
          - "https://server3-pool1:9000/mnt/disk{1...4}/"
          - "https://server4-pool1:9000/mnt/disk{1...4}/"
        set-drive-count: 4 # Advanced option, must be used under guidance from MinIO team.
    ```
    
    ### Things to know
    
    - Fields such as `version` and `pools` are mandatory, however all other fields are optional.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top