Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for geturl (0.27 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // reorder
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // reorder
        getAll(cache, asList(5, 7, 9));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          remove(key);
          return true;
        }
        return false;
      }
    
      @Override
      public boolean replace(K key, V oldValue, V newValue) {
        if (oldValue.equals(get(key))) {
          alertListenerIfPresent(key, oldValue, RemovalCause.REPLACED);
          put(key, newValue);
          return true;
        }
        return false;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // reorder
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        ticker.advance(2, MILLISECONDS);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // 3 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // reorder
        getAll(cache, asList(5, 7, 9));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * @param key key to associate with values in the collection
       * @return an empty collection of values
       */
      Collection<V> createCollection(@ParametricNullness K key) {
        return createCollection();
      }
    
      Map<K, Collection<V>> backingMap() {
        return map;
      }
    
      // Query Operations
    
      @Override
      public int size() {
        return totalSize;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        return new StringSourceFactory();
      }
    
      public static ByteSourceFactory byteArraySourceFactory() {
        return new ByteArraySourceFactory();
      }
    
      public static ByteSourceFactory emptyByteSourceFactory() {
        return new EmptyByteSourceFactory();
      }
    
      public static CharSourceFactory emptyCharSourceFactory() {
        return new EmptyCharSourceFactory();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            if (oldCount == 0) {
              // No change to make, but must return true if the element is not present
              return !countMap.containsKey(element);
            } else {
              return countMap.remove(element, oldCount);
            }
          }
          if (oldCount == 0) {
            return countMap.putIfAbsent(element, newCount) == null;
          }
          return countMap.replace(element, oldCount, newCount);
        }
    
        // Views
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicates.java

          public boolean apply(@CheckForNull Object o) {
            return true;
          }
    
          @Override
          public String toString() {
            return "Predicates.alwaysTrue()";
          }
        },
        /** @see Predicates#alwaysFalse() */
        ALWAYS_FALSE {
          @Override
          public boolean apply(@CheckForNull Object o) {
            return false;
          }
    
          @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public ImmutableSet<Range<C>> asRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering());
      }
    
      @Override
      public ImmutableSet<Range<C>> asDescendingSetOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      public ImmutableSet<Range<C>> asRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering());
      }
    
      @Override
      public ImmutableSet<Range<C>> asDescendingSetOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractBiMap.java

        protected Set<K> delegate() {
          return delegate.keySet();
        }
    
        @Override
        public void clear() {
          AbstractBiMap.this.clear();
        }
    
        @Override
        public boolean remove(@CheckForNull Object key) {
          if (!contains(key)) {
            return false;
          }
          removeFromBothMaps(key);
          return true;
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 14.6K bytes
    - Viewed (0)
Back to top