Home
last modified time | relevance | path

Searched refs:MappingKey (Results 1 – 7 of 7) sorted by relevance

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTable.java76 MappingKey key = MappingKey.fromSubtags(args, distance); in addDistance()
88 private void addMapping(MappingKey key) { in addMapping()
208 private Node getNode(MappingKey key) { in getNode()
217 void addExplicitMapping(MappingKey key) { in addExplicitMapping()
227 void addWildcardMappings(MappingKey key) { in addWildcardMappings()
270 private boolean putIfAbsent(MappingKey key) { in putIfAbsent()
285 private Node getIntermediateNode(MappingKey key) { in getIntermediateNode()
429 private static final class MappingKey { class in DistanceTable
437 static MappingKey fromSubtags(String[] subtagPairs, int distance) { in fromSubtags()
445 return new MappingKey(keyPairs.build(), distance, false); in fromSubtags()
[all …]
/external/perfetto/src/trace_processor/util/
Dprofile_builder.h181 struct MappingKey { struct
183 size_t operator()(const MappingKey& mapping) const { in operator() argument
191 explicit MappingKey(
195 bool operator==(const MappingKey& other) const {
395 std::unordered_map<MappingKey, uint64_t, MappingKey::Hash> mapping_keys_;
Dprofile_builder.cc141 GProfileBuilder::MappingKey::MappingKey( in MappingKey() function in perfetto::trace_processor::GProfileBuilder::MappingKey
778 {MappingKey(mapping_ref, string_table_), mapping_keys_.size() + 1}); in WriteMappingIfNeeded()
/external/pytorch/torch/_export/
Dutils.py30 MappingKey,
236 assert isinstance(kwarg_key, MappingKey)
383 return [(MappingKey(k), v) for k, v in zip(flat_names, flattened)], flat_names
740 if isinstance(x, MappingKey):
Dnon_strict_utils.py48 MappingKey,
69 elif isinstance(k, MappingKey):
/external/pytorch/torch/utils/
D_pytree.py390 class MappingKey(Generic[K, T]): class
447 return [(MappingKey(k), v) for k, v in zip(context, values)], context
511 return [(MappingKey(k), v) for k, v in zip(context, values)], context
535 return [(MappingKey(k), v) for k, v in zip(dict_context, values)], context
/external/pytorch/torch/export/
Ddynamic_shapes.py16 MappingKey,
492 return MappingKey(context[i])