Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 172 for advance (0.39 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/cache/CacheTesting.java

      }
    
      static void expireEntries(LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) {
    
        for (Segment<?, ?> segment : cchm.segments) {
          drainRecencyQueue(segment);
        }
    
        ticker.advance(2 * expiringTime, TimeUnit.MILLISECONDS);
    
        long now = ticker.read();
        for (Segment<?, ?> segment : cchm.segments) {
          expireEntries(segment, now);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  3. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K 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. guava-tests/test/com/google/common/cache/CacheTesting.java

      }
    
      static void expireEntries(LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) {
    
        for (Segment<?, ?> segment : cchm.segments) {
          drainRecencyQueue(segment);
        }
    
        ticker.advance(2 * expiringTime, TimeUnit.MILLISECONDS);
    
        long now = ticker.read();
        for (Segment<?, ?> segment : cchm.segments) {
          expireEntries(segment, now);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              if (advanceTo(nextEntry) || nextInChain()) {
                return true;
              }
            }
          }
          return false;
        }
    
        /**
         * Advances to the given entry. Returns {@code true} if the entry was valid, {@code false} if it
         * should be skipped.
         */
        boolean advanceTo(E entry) {
          try {
            K key = entry.getKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessHtmlPath.java

        HtmlNext path_AdminWizard_AdminWizardStartJsp = new HtmlNext("/admin/wizard/admin_wizard_start.jsp");
    
        /** The path of the HTML: /advance.jsp */
        HtmlNext path_AdvanceJsp = new HtmlNext("/advance.jsp");
    
        /** The path of the HTML: /error/badRequest.jsp */
        HtmlNext path_Error_BadRequestJsp = new HtmlNext("/error/badRequest.jsp");
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (2)
  9. src/archive/tar/reader.go

    		sparseMap = sparseMap[2:]
    	}
    	return spd, nil
    }
    
    // Read reads from the current file in the tar archive.
    // It returns (0, io.EOF) when it reaches the end of that file,
    // until [Next] is called to advance to the next file.
    //
    // If the current file is sparse, then the regions marked as a hole
    // are read back as NUL-bytes.
    //
    // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar],
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. common/scripts/kind_provisioner.sh

    # 1. IMAGE = docker image used as node by KinD
    # 2. IP_FAMILY = either ipv4 or ipv6
    #
    # NOTE: Please call load_cluster_topology before calling this method as it expects
    # cluster topology information to be loaded in advance
    function setup_kind_clusters() {
      IMAGE="${1:-"${DEFAULT_KIND_IMAGE}"}"
      KUBECONFIG_DIR="${ARTIFACTS:-$(mktemp -d)}/kubeconfig"
      IP_FAMILY="${2:-ipv4}"
    
      check_default_cluster_yaml
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
Back to top