Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxWeight (0.03 sec)

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

        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(MAX_SIZE);
        CacheTesting.checkValidState(cache);
      }
    
      /**
       * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached.
       * Entries with positive weight should not be cached (nor dump existing cache).
       */
      public void testEviction_maxWeight_zero() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top