Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for tree (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertTrue("Listener called before it was expected", expectCall);
          assertFalse("Listener called more than once", wasCalled());
          called.set(true);
        }
    
        public void expectCall() {
          assertFalse("expectCall is already true", expectCall);
          expectCall = true;
        }
    
        public boolean wasCalled() {
          return called.get();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

          assertTrue("Listener called before it was expected", expectCall);
          assertFalse("Listener called more than once", wasCalled());
          called.set(true);
        }
    
        public void expectCall() {
          assertFalse("expectCall is already true", expectCall);
          expectCall = true;
        }
    
        public boolean wasCalled() {
          return called.get();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

      // expiration
    
      /** Returns true if the entry has expired. */
      boolean isExpired(ReferenceEntry<K, V> entry, long now) {
        checkNotNull(entry);
        if (expiresAfterAccess() && (now - entry.getAccessTime() >= expireAfterAccessNanos)) {
          return true;
        }
        if (expiresAfterWrite() && (now - entry.getWriteTime() >= expireAfterWriteNanos)) {
          return true;
        }
        return false;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * @param mayInterruptIfRunning {@code true} if the thread executing this task should be
       *     interrupted; otherwise, in-progress tasks are allowed to complete, but the step will be
       *     cancelled regardless
       * @return {@code false} if the step could not be cancelled, typically because it has already
       *     completed normally; {@code true} otherwise
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * @param mayInterruptIfRunning {@code true} if the thread executing this task should be
       *     interrupted; otherwise, in-progress tasks are allowed to complete, but the step will be
       *     cancelled regardless
       * @return {@code false} if the step could not be cancelled, typically because it has already
       *     completed normally; {@code true} otherwise
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        @Override
        public NavigableMap<K, V2> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
          return subMap(fromKey, true, toKey, false);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

        @Override
        public NavigableMap<K, V2> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
          return subMap(fromKey, true, toKey, false);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey) {
          return tailMap(fromKey, true);
        }
    
        @Override
        public NavigableMap<K, V2> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

      // expiration
    
      /** Returns true if the entry has expired. */
      boolean isExpired(ReferenceEntry<K, V> entry, long now) {
        checkNotNull(entry);
        if (expiresAfterAccess() && (now - entry.getAccessTime() >= expireAfterAccessNanos)) {
          return true;
        }
        if (expiresAfterWrite() && (now - entry.getWriteTime() >= expireAfterWriteNanos)) {
          return true;
        }
        return false;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top