Home
last modified time | relevance | path

Searched defs:bimap (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/collect/
H A DImmutableBiMapTest.java544 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
545 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
553 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(hashMap); in testFromHashMap() local
559 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
618 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
627 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
635 ImmutableBiMap<String, Integer> bimap = in testValues() local
643 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
651 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmptySerialization() local
658 ImmutableBiMap<String, Integer> bimap = in testSerialization() local
[all …]
H A DEnumBiMapTest.java134 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testCreate() local
137 assertEquals(HashBiMap.create(), bimap); in testCreate() local
150 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testCreateFromMap() local
192 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testKeyType() local
198 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testValueType() local
210 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testIterationOrder() local
238 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testKeySetIteratorRemove() local
264 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testValuesIteratorRemove() local
288 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testEntrySet() local
H A DEnumHashBiMapTest.java127 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testCreate() local
130 assertEquals(HashBiMap.create(), bimap); in testCreate() local
143 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testCreateFromMap() local
205 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testKeyType() local
216 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testEntrySet() local
H A DAbstractBiMapTest.java33 BiMap<Integer, String> bimap = in testIdentityKeySetIteratorRemove() local
51 BiMap<Integer, String> bimap = in testIdentityEntrySetIteratorRemove() local
H A DHashBiMapTest.java85 HashBiMap<String, String> bimap = HashBiMap.create(map); in testMapConstructor() local
93 BiMap<Integer, Integer> bimap = HashBiMap.create(N); in testBashIt() local
H A DAbstractImmutableBiMapMapInterfaceTest.java40 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
H A DSynchronizedBiMapTest.java139 BiMap<String, Integer> bimap = create(); in testInverse() local
H A DMapsTest.java1330 BiMap<String, Integer> bimap = HashBiMap.create(); in testSynchronizedBiMap() local
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/collect/
H A DImmutableBiMapTest.java570 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmpty() local
571 assertEquals(Collections.<String, Integer>emptyMap(), bimap); in testEmpty() local
579 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(hashMap); in testFromHashMap() local
585 ImmutableBiMap<String, Integer> bimap = in testFromImmutableMap() local
645 BiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2)); in testForcePut() local
654 ImmutableBiMap<String, Integer> bimap = in testKeySet() local
662 ImmutableBiMap<String, Integer> bimap = in testValues() local
670 ImmutableBiMap<String, Integer> bimap = in testDoubleInverse() local
678 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); in testEmptySerialization() local
685 ImmutableBiMap<String, Integer> bimap = in testSerialization() local
[all …]
H A DEnumBiMapTest.java134 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testCreate() local
137 assertEquals(HashBiMap.create(), bimap); in testCreate() local
150 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testCreateFromMap() local
192 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testKeyType() local
198 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); in testValueType() local
210 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testIterationOrder() local
238 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testKeySetIteratorRemove() local
264 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testValuesIteratorRemove() local
288 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); in testEntrySet() local
H A DEnumHashBiMapTest.java127 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testCreate() local
130 assertEquals(HashBiMap.create(), bimap); in testCreate() local
143 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testCreateFromMap() local
205 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(Currency.class); in testKeyType() local
216 EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map); in testEntrySet() local
H A DAbstractBiMapTest.java33 BiMap<Integer, String> bimap = in testIdentityKeySetIteratorRemove() local
51 BiMap<Integer, String> bimap = in testIdentityEntrySetIteratorRemove() local
H A DHashBiMapTest.java85 HashBiMap<String, String> bimap = HashBiMap.create(map); in testMapConstructor() local
93 BiMap<Integer, Integer> bimap = HashBiMap.create(N); in testBashIt() local
H A DAbstractImmutableBiMapMapInterfaceTest.java40 BiMap<K, V> bimap = (BiMap<K, V>) map; in assertMoreInvariants() local
H A DSynchronizedBiMapTest.java146 BiMap<String, Integer> bimap = create(); in testInverse() local
H A DMapsTest.java1375 BiMap<String, Integer> bimap = HashBiMap.create(); in testSynchronizedBiMap() local
/aosp_15_r20/external/federated-compute/fcp/dictionary/
H A Ddictionary.cc45 int32_t MapLookup(const HashVectorBimap& bimap, const std::string& tag) { in MapLookup()
50 std::string MapReverseLookup(const HashVectorBimap& bimap, int32_t id) { in MapReverseLookup()
58 int32_t GetSize(const HashVectorBimap& bimap) { in GetSize()
75 std::unique_ptr<Bimap> bimap, in DictionaryImpl()
167 auto bimap = std::make_unique<HashVectorBimap>(); in Create() local
/aosp_15_r20/external/guava/android/guava/src/com/google/common/collect/
H A DImmutableBiMap.java521 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
598 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
H A DEnumHashBiMap.java75 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyTypeOrObjectUnderJ2cl(map)); in create() local
H A DEnumBiMap.java85 EnumBiMap<K, V> bimap = in create() local
/aosp_15_r20/external/guava/guava/src/com/google/common/collect/
H A DImmutableBiMap.java536 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local
623 SerializedForm(ImmutableBiMap<K, V> bimap) { in SerializedForm()
H A DEnumHashBiMap.java75 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyTypeOrObjectUnderJ2cl(map)); in create() local
H A DEnumBiMap.java85 EnumBiMap<K, V> bimap = in create() local
H A DHashBiMap.java88 HashBiMap<K, V> bimap = create(map.size()); in create() local
/aosp_15_r20/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableBiMap.java235 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; in copyOf() local

12345678910>>...14