Searched refs:expectedEntries (Results 1 – 4 of 4) sorted by relevance
/external/guava/guava/src/com/google/common/collect/ |
D | Hashing.java | 56 static int closedTableSize(int expectedEntries, double loadFactor) { in closedTableSize() argument 59 expectedEntries = Math.max(expectedEntries, 2); in closedTableSize() 60 int tableSize = Integer.highestOneBit(expectedEntries); in closedTableSize() 62 if (expectedEntries > (int) (loadFactor * tableSize)) { in closedTableSize()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetNavigationTester.java | 467 <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) { in expectedEntries() method 479 <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) { in expectedEntries() method 491 <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) { in expectedEntries() method 503 <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries) { in expectedEntries() method 513 abstract <E> List<Entry<E>> expectedEntries(int targetEntry, List<Entry<E>> entries); in expectedEntries() method in MultisetNavigationTester.SubMultisetSpec 522 List<Entry<E>> expected = spec.expectedEntries(i, entries); in testSubMultisetEntrySet() 531 List<Entry<E>> expected = spec.expectedEntries(i, entries); in testSubMultisetSize() 540 List<Entry<E>> expected = spec.expectedEntries(i, entries); in testSubMultisetDistinctElements()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 1402 private static <K, V> void assertSameEntries(List<ReferenceEntry<K, V>> expectedEntries, in assertSameEntries() argument 1404 int size = expectedEntries.size(); in assertSameEntries() 1407 ReferenceEntry<K, V> expectedEntry = expectedEntries.get(0); in assertSameEntries()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 2080 private static <K, V> void assertSameEntries(List<ReferenceEntry<K, V>> expectedEntries, in assertSameEntries() argument 2082 int size = expectedEntries.size(); in assertSameEntries() 2085 ReferenceEntry<K, V> expectedEntry = expectedEntries.get(i); in assertSameEntries()
|