Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for revalidate (0.19 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          return localCache.getIfPresent(key);
        }
    
        @Override
        public void put(K key, V value) {
          localCache.put(key, value);
        }
    
        @Override
        public void invalidate(Object key) {
          checkNotNull(key);
          localCache.remove(key);
        }
    
        @Override
        public void invalidateAll() {
          localCache.clear();
        }
    
        @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)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
              for (int i = 0; i < size; i++) {
                // requireNonNull is safe because the first `size` elements have been filled in.
                Entry<K, V> entry = requireNonNull(entryArray[i]);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
        assertThat(setToTest).isEqualTo(copyOfWrappedSet);
    
        // invalidate setToTest
        wrappedSet.remove(1);
        // sanity check on update of wrappedSet
        assertThat(wrappedSet).isNotEqualTo(copyOfWrappedSet);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

          default:
            Object[] keys = new Object[size];
            Object[] values = new Object[size];
            if (sameComparator) {
              // Need to check for nulls, but don't need to sort or validate.
              for (int i = 0; i < size; i++) {
                // requireNonNull is safe because the first `size` elements have been filled in.
                Entry<K, V> entry = requireNonNull(entryArray[i]);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

          localCache.put(key, value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> m) {
          localCache.putAll(m);
        }
    
        @Override
        public void invalidate(Object key) {
          checkNotNull(key);
          localCache.remove(key);
        }
    
        @Override
        public void invalidateAll(Iterable<?> keys) {
          localCache.invalidateAll(keys);
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashSet.java

        Set<E> delegate = delegateOrNull();
        if (delegate != null) {
          metadata =
              Ints.constrainToRange(size(), CompactHashing.DEFAULT_SIZE, CompactHashing.MAX_SIZE);
          delegate.clear(); // invalidate any iterators left over!
          table = null;
          size = 0;
        } else {
          Arrays.fill(requireElements(), 0, size, null);
          CompactHashing.tableClear(requireTable());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * according to RFC 1035.
       *
       * @return Is the domain name syntactically valid?
       */
      private static boolean validateSyntax(List<String> parts) {
        int lastIndex = parts.size() - 1;
    
        // Validate the last part specially, as it has different syntax rules.
    
        if (!validatePart(parts.get(lastIndex), true)) {
          return false;
        }
    
        for (int i = 0; i < lastIndex; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. .github/workflows/gradle-wrapper-validation.yml

    name: "Validate Gradle Wrapper"
    on: [push, pull_request]
    
    permissions:
      contents: read
    
    jobs:
      validation:
        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 16:57:01 GMT 2024
    - 348 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Tables.java

          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top