Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 24 of 24 for isAtMost (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
      private static <K, V> int countLiveEntries(MapMakerInternalMap<K, V, ?, ?> map) {
        int result = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertEquals(liveCount, countLiveEntries(map));
          // expansion cleanup is sloppy, with a goal of avoiding unnecessary copies
          assertThat(segment.count).isAtLeast(liveCount);
          assertThat(segment.count).isAtMost(originalCount);
          assertEquals(originalMap, ImmutableMap.copyOf(map));
        }
      }
    
      private static <K, V> int countLiveEntries(MapMakerInternalMap<K, V, ?, ?> map) {
        int result = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

          builder.add(i);
        }
        for (int j = 0; j < 1000; j++) {
          builder.add(9);
        }
        ImmutableSortedSet<Integer> unused = builder.build();
        assertThat(compares[0]).isAtMost(10000);
        // hopefully something quadratic would have more digits
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

          builder.add(i);
        }
        for (int j = 0; j < 1000; j++) {
          builder.add(9);
        }
        ImmutableSortedSet<Integer> unused = builder.build();
        assertThat(compares[0]).isAtMost(10000);
        // hopefully something quadratic would have more digits
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
Back to Top