Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 470 for previous (0.2 sec)

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      public void fetch(HttpUrl url) throws IOException {
        // Skip hosts that we've visited many times.
        AtomicInteger hostnameCount = new AtomicInteger();
        AtomicInteger previous = hostnames.putIfAbsent(url.host(), hostnameCount);
        if (previous != null) hostnameCount = previous;
        if (hostnameCount.incrementAndGet() > 100) return;
    
        Request request = new Request.Builder()
            .url(url)
            .build();
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

          prev = x;
        }
      }
    
      /** getAndSet returns previous value and sets to given value */
      public void testGetAndSet() {
        double prev = Math.E;
        AtomicDouble at = new AtomicDouble(prev);
        for (double x : VALUES) {
          assertBitEquals(prev, at.getAndSet(x));
          prev = x;
        }
      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            while (!aa.weakCompareAndSet(i, prev, x)) {
              ;
            }
            assertBitEquals(x, aa.get(i));
            prev = x;
          }
        }
      }
    
      /** getAndSet returns previous value and sets to given value at given index */
      public void testGetAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

        }
        return false;
      }
    
      // queues
    
      // Guarded By Segment.this
      static <K, V> void connectAccessOrder(ReferenceEntry<K, V> previous, ReferenceEntry<K, V> next) {
        previous.setNextInAccessQueue(next);
        next.setPreviousInAccessQueue(previous);
      }
    
      // Guarded By Segment.this
      static <K, V> void nullifyAccessOrder(ReferenceEntry<K, V> nulled) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     minValue()}
       */
      @CheckForNull
      public abstract C previous(C value);
    
      /**
       * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or
       * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

    /**
     * Serializes execution of tasks, somewhat like an "asynchronous {@code synchronized} block." Each
     * {@linkplain #submit enqueued} callable will not be submitted to its associated executor until the
     * previous callable has returned -- and, if the previous callable was an {@link AsyncCallable}, not
     * until the {@code Future} it returned is {@linkplain Future#isDone done} (successful, failed, or
     * cancelled).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingListIterator.java

      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
        return delegate().previous();
      }
    
      @Override
      public int previousIndex() {
        return delegate().previousIndex();
      }
    
      @Override
      public void set(@ParametricNullness E element) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingListIterator.java

      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
        return delegate().previous();
      }
    
      @Override
      public int previousIndex() {
        return delegate().previousIndex();
      }
    
      @Override
      public void set(@ParametricNullness E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/testdata/describe/tls_config.json

                            "num_retries": 2,
                            "retry_host_predicate": [
                              {
                                "name": "envoy.retry_host_predicates.previous_hosts"
                              }
                            ],
                            "host_selection_retry_max_attempts": "5",
                            "retriable_status_codes": [
                              503
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(1); // R1.00, to repay previous
    
        rateLimiter.setRate(2.0); // update the rate!
    
        rateLimiter.acquire(1); // R1.00, to repay previous (the previous was under the old rate!)
        rateLimiter.acquire(2); // R0.50, to repay previous (now the rate takes effect)
        rateLimiter.acquire(4); // R1.00, to repay previous
        rateLimiter.acquire(1); // R2.00, to repay previous
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top