Home
last modified time | relevance | path

Searched refs:entityType (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/java/src/com/android/textclassifier/
DEntity.java26 private final String entityType; field in Entity
29 public Entity(String entityType, float score) { in Entity() argument
30 this.entityType = Preconditions.checkNotNull(entityType); in Entity()
35 return entityType; in getEntityType()
49 return Objects.hashCode(entityType, score); in hashCode()
62 && java.util.Objects.equals(entityType, entity.entityType); in equals()
67 return "Entity{" + entityType + ": " + score + "}"; in toString()
77 return entityType.compareTo(entity.getEntityType()); in compareTo()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DGenerateLinksLogger.java77 final String entityType = link.getEntity(0); in logGenerateLinks() local
78 if (entityType == null in logGenerateLinks()
79 || TextClassifier.TYPE_OTHER.equals(entityType) in logGenerateLinks()
80 || TextClassifier.TYPE_UNKNOWN.equals(entityType)) { in logGenerateLinks()
84 perEntityTypeStats.computeIfAbsent(entityType, k -> new LinkifyStats()).countLink(link); in logGenerateLinks()
105 for (String entityType : sortedEntityTypes) { in logGenerateLinks()
109 entityType, in logGenerateLinks()
110 perEntityTypeStats.get(entityType), in logGenerateLinks()
136 @Nullable String entityType, in writeStats() argument
152 entityType, in writeStats()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DDeprecatedConstructType1456Test.java31 Type entityType = proceed.getGenericParameterTypes()[0]; in testGenericResolutionUsingDeprecated() local
33 … JavaType resolvedType = MAPPER.getTypeFactory().constructType(entityType, ImplController.class); in testGenericResolutionUsingDeprecated()
/external/llvm-project/flang/lib/Semantics/
Dcheck-do-forall.cpp154 if (const DeclTypeSpec * entityType{details->type()}) { in MightDeallocatePolymorphic() local
155 if (const DerivedTypeSpec * derivedType{entityType->AsDerived()}) { in MightDeallocatePolymorphic()
235 const DeclTypeSpec *entityType{entity.GetType()}; in Post() local
236 if ((entityType && entityType->IsPolymorphic()) || // POINTER case in Post()