Home
last modified time | relevance | path

Searched refs:makeMap (Results 1 – 25 of 35) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java41 makeMap(MapMaker maker) { in makeMap() method in MapMakerInternalMapTest
54 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker()); in testDefaults()
87 makeMap(createMapMaker().keyEquivalence(testEquivalence)); in testSetKeyEquivalence()
107 makeMap(createMapMaker().concurrencyLevel(concurrencyLevel)); in checkConcurrencyLevel()
148 makeMap( in checkInitialCapacity()
182 makeMap( in checkMaximumSize()
192 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys()
199 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); in testSetWeakValues()
217 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); in testNewEntry()
254 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); in testCopyEntry()
[all …]
DConcurrentHashMultisetTest.java338 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.identity()).makeMap();
374 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.equals()).makeMap();
398 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
404 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
411 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
419 new MapMaker().keyEquivalence(Equivalence.identity()).makeMap();
DBenchmarkHelpers.java216 ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); in create()
225 ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap(); in create()
234 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap(); in create()
243 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().weakValues().makeMap(); in create()
DMapMakerTest.java83 Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); in testReturnsPlainConcurrentHashMapWhenPossible()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java41 makeMap(MapMaker maker) { in makeMap() method in MapMakerInternalMapTest
54 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker()); in testDefaults()
87 makeMap(createMapMaker().keyEquivalence(testEquivalence)); in testSetKeyEquivalence()
107 makeMap(createMapMaker().concurrencyLevel(concurrencyLevel)); in checkConcurrencyLevel()
148 makeMap( in checkInitialCapacity()
182 makeMap( in checkMaximumSize()
192 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys()
199 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); in testSetWeakValues()
217 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); in testNewEntry()
254 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker); in testCopyEntry()
[all …]
DConcurrentHashMultisetTest.java338 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.identity()).makeMap();
374 new MapMaker().setKeyStrength(keyStrength).keyEquivalence(Equivalence.equals()).makeMap();
398 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
404 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
411 ConcurrentMap<String, AtomicInteger> map = new MapMaker().makeMap();
419 new MapMaker().keyEquivalence(Equivalence.identity()).makeMap();
DBenchmarkHelpers.java216 ConcurrentMap<K, V> newMap = new MapMaker().keyEquivalence(Equivalence.equals()).makeMap(); in create()
225 ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap(); in create()
234 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap(); in create()
243 ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().weakValues().makeMap(); in create()
DMapMakerTest.java83 Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); in testReturnsPlainConcurrentHashMapWhenPossible()
/external/dagger2/java/dagger/producers/internal/
DDependencyMethodProducer.java42 Collections.newSetFromMap(new MapMaker().weakKeys().<ListenableFuture<T>, Boolean>makeMap());
95 new MapMaker().weakKeys().<ListenableFuture<T>, Boolean>makeMap()); in newEntryPointView()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DCharacterProperties.java60 private static CodePointMap makeMap(int property) { in makeMap() method in CharacterProperties
153 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharacterProperties.java59 private static CodePointMap makeMap(int property) { in makeMap() method in CharacterProperties
154 maps[property - UProperty.INT_START] = map = makeMap(property); in getIntPropertyMap()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/label/
DTensorLabel.java105 this(makeMap(getFirstAxisWithSizeGreaterThanOne(tensorBuffer), axisLabels), tensorBuffer); in TensorLabel()
219 private static Map<Integer, List<String>> makeMap(int axis, List<String> labels) { in makeMap() method in TensorLabel
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMapMaker.java50 public <K, V> ConcurrentMap<K, V> makeMap() { in makeMap() method in MapMaker
/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java34 private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap
/external/guava/android/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java34 private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap
/external/escapevelocity/src/test/java/com/google/escapevelocity/
DTemplateTest.java750 Supplier<Map<String, Object>> makeMap = new Supplier<Map<String, Object>>() { in callBySharing() local
757 compare(template, makeMap); in callBySharing()
777 Supplier<Map<String, Object>> makeMap = new Supplier<Map<String, Object>>() { in callByMacro() local
782 compare(template, makeMap); in callByMacro()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DValidIdentifiers.java67 public ValiditySet(Set<String> plainData, boolean makeMap) { in ValiditySet() argument
68 if (makeMap) { in ValiditySet()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DValidIdentifiers.java56 public ValiditySet(Set<String> plainData, boolean makeMap) { in ValiditySet() argument
57 if (makeMap) { in ValiditySet()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java118 Map<Element, Element> map = new MapMaker().concurrencyLevel(1).makeMap(); in create()
128 Map<Element, Element> map = new MapMaker().concurrencyLevel(16).makeMap(); in create()
/external/guava/android/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java118 Map<Element, Element> map = new MapMaker().concurrencyLevel(1).makeMap(); in create()
128 Map<Element, Element> map = new MapMaker().concurrencyLevel(16).makeMap(); in create()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java272 lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();
582 new MapMaker().weakKeys().makeMap();
589 new MapMaker().weakKeys().makeMap();
/external/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java272 lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();
582 new MapMaker().weakKeys().makeMap();
589 new MapMaker().weakKeys().makeMap();
/external/icu/icu4c/source/common/
Dcharacterproperties.cpp300 UCPMap *makeMap(UProperty property, UErrorCode &errorCode) { in makeMap() function
380 maps[property - UCHAR_INT_START] = map = makeMap(property, *pErrorCode); in u_getIntPropertyMap()
/external/guava/android/guava/src/com/google/common/collect/
DMapMaker.java279 public <K, V> ConcurrentMap<K, V> makeMap() { in makeMap() method in MapMaker
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java279 public <K, V> ConcurrentMap<K, V> makeMap() { in makeMap() method in MapMaker

12