Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Povirk (0.03 sec)

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

        assertTrue(logHandler.getStoredLogRecords().isEmpty());
      }
    
      private void checkLogged(Throwable t) {
        assertSame(t, popLoggedThrowable());
      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 110.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertTrue(logHandler.getStoredLogRecords().isEmpty());
      }
    
      private void checkLogged(Throwable t) {
        assertSame(t, popLoggedThrowable());
      }
    
      /*
       * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may
       * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use
       * builder.build() and then cast?
       */
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 112.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          V leftValue = entry.getValue();
          if (right.containsKey(leftKey)) {
            /*
             * The cast is safe because onlyOnRight contains all the keys of right.
             *
             * TODO(cpovirk): Consider checking onlyOnRight.containsKey instead of right.containsKey.
             * That could change behavior if the input maps use different equivalence relations (and so
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 158.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    })
    @GwtCompatible(emulated = true)
    @NullUnmarked // TODO(cpovirk): Annotate for nullness.
    class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V> {
    
      /*
       * The basic strategy is to subdivide the table among Segments, each of which itself is a
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 148.8K bytes
    - Viewed (0)
Back to top