Home
last modified time | relevance | path

Searched refs:expectedKeys (Results 1 – 14 of 14) sorted by relevance

/external/v8/test/mjsunit/
Dobject-literal.js217 function TestNumericNamesGetter(expectedKeys, object) { argument
218 assertEquals(expectedKeys, Object.keys(object));
219 expectedKeys.forEach(function(key) {
241 function TestNumericNamesSetter(expectedKeys, object) { argument
242 assertEquals(expectedKeys, Object.keys(object));
243 expectedKeys.forEach(function(key) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DHashMultimap.java69 int expectedKeys, int expectedValuesPerKey) { in create() argument
70 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
89 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() argument
90 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
DArrayListMultimap.java86 int expectedKeys, int expectedValuesPerKey) { in create() argument
87 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
106 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
107 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DLinkedListMultimap.java179 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
180 return new LinkedListMultimap<K, V>(expectedKeys); in create()
199 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
200 keyToKeyList = new HashMap<K, KeyList<K, V>>(expectedKeys); in LinkedListMultimap()
DLinkedHashMultimap.java98 int expectedKeys, int expectedValuesPerKey) { in create() argument
100 Maps.capacity(expectedKeys), in create()
/external/guava/guava/src/com/google/common/collect/
DHashMultimap.java74 int expectedKeys, int expectedValuesPerKey) { in create() argument
75 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
94 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() argument
95 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in HashMultimap()
DArrayListMultimap.java91 int expectedKeys, int expectedValuesPerKey) { in create() argument
92 return new ArrayListMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
111 private ArrayListMultimap(int expectedKeys, int expectedValuesPerKey) { in ArrayListMultimap() argument
112 super(Maps.<K, Collection<V>>newHashMapWithExpectedSize(expectedKeys)); in ArrayListMultimap()
DMultimapBuilder.java94 public static MultimapBuilderWithKeys<Object> hashKeys(final int expectedKeys) { in hashKeys() argument
95 checkNonnegative(expectedKeys, "expectedKeys"); in hashKeys()
99 return new HashMap<K, Collection<V>>(expectedKeys); in hashKeys()
125 public static MultimapBuilderWithKeys<Object> linkedHashKeys(final int expectedKeys) {
126 checkNonnegative(expectedKeys, "expectedKeys");
130 return new LinkedHashMap<K, Collection<V>>(expectedKeys);
DLinkedListMultimap.java183 public static <K, V> LinkedListMultimap<K, V> create(int expectedKeys) { in create() argument
184 return new LinkedListMultimap<K, V>(expectedKeys); in create()
203 private LinkedListMultimap(int expectedKeys) { in LinkedListMultimap() argument
204 keyToKeyList = new HashMap<K, KeyList<K, V>>(expectedKeys); in LinkedListMultimap()
DLinkedHashMultimap.java102 int expectedKeys, int expectedValuesPerKey) { in create() argument
104 Maps.capacity(expectedKeys), in create()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerTest.java128 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
134 expectedKeys.add(s); in testRemovalNotification_clear_basher()
149 expectedKeys.add(s); in testRemovalNotification_clear_basher()
178 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
DStartedServiceMatcher.java72 Set<String> expectedKeys = shadowOf(expectedIntent).getExtras().keySet(); in matchesSafely() local
73 intentsMatch = keys.equals(expectedKeys); in matchesSafely()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java465 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); in testRemovalNotification_clear_basher() local
471 expectedKeys.add(s); in testRemovalNotification_clear_basher()
487 expectedKeys.add(s); in testRemovalNotification_clear_basher()
516 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet())); in testRemovalNotification_clear_basher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java4177 Set<String> expectedKeys = expectedKeywords.keySet(); in TestUnicodeLocaleExtension() local
4178 if (keys.size() != expectedKeys.size()) { in TestUnicodeLocaleExtension()
4180 + keys.size() + ", expected=" + expectedKeys.size() in TestUnicodeLocaleExtension()
4184 for (String expKey : expectedKeys) { in TestUnicodeLocaleExtension()