Home
last modified time | relevance | path

Searched refs:inputMap (Results 1 – 15 of 15) sorted by relevance

/external/pytorch/android/pytorch_android/src/androidTest/java/org/pytorch/
DPytorchTestBase.java108 final Map<Long, IValue> inputMap = new HashMap<>(); in testEqDictIntKeyIntValue() local
110 inputMap.put(Long.MIN_VALUE, IValue.from(-Long.MIN_VALUE)); in testEqDictIntKeyIntValue()
111 inputMap.put(Long.MAX_VALUE, IValue.from(-Long.MAX_VALUE)); in testEqDictIntKeyIntValue()
112 inputMap.put(0l, IValue.from(0l)); in testEqDictIntKeyIntValue()
113 inputMap.put(1l, IValue.from(-1l)); in testEqDictIntKeyIntValue()
114 inputMap.put(-1l, IValue.from(1l)); in testEqDictIntKeyIntValue()
116 final IValue input = IValue.dictLongKeyFrom(inputMap); in testEqDictIntKeyIntValue()
123 assertTrue(inputMap.size() == outputMap.size()); in testEqDictIntKeyIntValue()
124 for (Map.Entry<Long, IValue> entry : inputMap.entrySet()) { in testEqDictIntKeyIntValue()
132 final Map<String, IValue> inputMap = new HashMap<>(); in testEqDictStrKeyIntValue() local
[all …]
/external/cronet/tot/third_party/icu/source/common/
Ddictbe.cpp1150 LocalPointer<UVector32> inputMap; in divideUpDictionaryRange() local
1172 inputMap.adoptInsteadAndCheckErrorCode(new UVector32(status), status); in divideUpDictionaryRange()
1181 while (inputMap->size() < inString.length()) { in divideUpDictionaryRange()
1182 inputMap->addElement(nativePosition, status); in divideUpDictionaryRange()
1185 inputMap->addElement(limit, status); in divideUpDictionaryRange()
1219 int32_t fragmentOriginalStart = inputMap.isValid() ? in divideUpDictionaryRange()
1220 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1229 int32_t nativeEnd = inputMap.isValid() ? in divideUpDictionaryRange()
1230 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1233 inputMap = std::move(normalizedMap); in divideUpDictionaryRange()
[all …]
Dmlbe.cpp38 const LocalPointer<UVector32> &inputMap, in divideUpRange() argument
95 int32_t utextPos = inputMap.isValid() ? inputMap->elementAti(cpPos) : cpPos + rangeStart; in divideUpRange()
Dmlbe.h53 const LocalPointer<UVector32> &inputMap, UErrorCode &status) const;
/external/cronet/stable/third_party/icu/source/common/
Ddictbe.cpp1150 LocalPointer<UVector32> inputMap; in divideUpDictionaryRange() local
1172 inputMap.adoptInsteadAndCheckErrorCode(new UVector32(status), status); in divideUpDictionaryRange()
1181 while (inputMap->size() < inString.length()) { in divideUpDictionaryRange()
1182 inputMap->addElement(nativePosition, status); in divideUpDictionaryRange()
1185 inputMap->addElement(limit, status); in divideUpDictionaryRange()
1219 int32_t fragmentOriginalStart = inputMap.isValid() ? in divideUpDictionaryRange()
1220 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1229 int32_t nativeEnd = inputMap.isValid() ? in divideUpDictionaryRange()
1230 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1233 inputMap = std::move(normalizedMap); in divideUpDictionaryRange()
[all …]
Dmlbe.cpp38 const LocalPointer<UVector32> &inputMap, in divideUpRange() argument
95 int32_t utextPos = inputMap.isValid() ? inputMap->elementAti(cpPos) : cpPos + rangeStart; in divideUpRange()
Dmlbe.h53 const LocalPointer<UVector32> &inputMap, UErrorCode &status) const;
/external/icu/icu4c/source/common/
Ddictbe.cpp1150 LocalPointer<UVector32> inputMap; in divideUpDictionaryRange() local
1172 inputMap.adoptInsteadAndCheckErrorCode(new UVector32(status), status); in divideUpDictionaryRange()
1181 while (inputMap->size() < inString.length()) { in divideUpDictionaryRange()
1182 inputMap->addElement(nativePosition, status); in divideUpDictionaryRange()
1185 inputMap->addElement(limit, status); in divideUpDictionaryRange()
1219 int32_t fragmentOriginalStart = inputMap.isValid() ? in divideUpDictionaryRange()
1220 inputMap->elementAti(fragmentStartI) : fragmentStartI+rangeStart; in divideUpDictionaryRange()
1229 int32_t nativeEnd = inputMap.isValid() ? in divideUpDictionaryRange()
1230 inputMap->elementAti(inString.length()) : inString.length()+rangeStart; in divideUpDictionaryRange()
1233 inputMap = std::move(normalizedMap); in divideUpDictionaryRange()
[all …]
Dmlbe.cpp38 const LocalPointer<UVector32> &inputMap, in divideUpRange() argument
94 int32_t utextPos = inputMap.isValid() ? inputMap->elementAti(cpPos) : cpPos + rangeStart; in divideUpRange()
Dmlbe.h53 const LocalPointer<UVector32> &inputMap, UErrorCode &status) const;
/external/aws-sdk-java-v2/utils/src/main/java/software/amazon/awssdk/utils/
DCollectionUtils.java142 …public static <K, VInT, VOutT> Map<K, VOutT> mapValues(Map<K, VInT> inputMap, Function<VInT, VOutT… in mapValues() argument
143 …return inputMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, e -> mapper.apply(… in mapValues()
171 public static <K, V> Map<K, V> inverseMap(Map<V, K> inputMap) { in inverseMap() argument
172 …return inputMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKe… in inverseMap()
/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/extensions/
DVersionedRecordExtensionTest.java98 Map<String, AttributeValue> inputMap = in beforeWrite_initialVersionDueToExplicitNull_transformedItemIsCorrect() local
100 inputMap.put("version", AttributeValue.builder().nul(true).build()); in beforeWrite_initialVersionDueToExplicitNull_transformedItemIsCorrect()
108 .items(inputMap) in beforeWrite_initialVersionDueToExplicitNull_transformedItemIsCorrect()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestCustomEnumKeyDeserializer.java189 Map<KeyEnum, Object> inputMap = new LinkedHashMap<KeyEnum, Object>(); in withTree749() local
194 inputMap.put(KeyEnum.replacements, replacements); in withTree749()
196 JsonNode tree = mapper.valueToTree(inputMap); in withTree749()
/external/icu/libicu/cts_headers/
Dmlbe.h53 const LocalPointer<UVector32> &inputMap, UErrorCode &status) const;
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/mhlo/transforms/
Dlegalize_to_linalg.cc661 AffineMap inputMap; in getIndexingMaps() local
665 inputMap = AffineMap::get(nloops, /*symbolCount=*/0, context); in getIndexingMaps()
667 inputMap = in getIndexingMaps()
670 return {inputMap, b->getMultiDimIdentityMap(nloops)}; in getIndexingMaps()