Searched defs:ModelKey (Results 1 - 2 of 2) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DModelCache.java20 private static class ModelKey<A> { class in class:ModelCache
21 private static final Queue<ModelKey> KEY_QUEUE = new ArrayDeque<ModelKey>();
24 public static <A> ModelKey<A> get(A model, int width, int height) {
25 ModelKey<A> modelKey = KEY_QUEUE.poll();
27 modelKey = new ModelKey<A>();
38 private ModelKey() { } method in class:ModelCache.ModelKey
55 ModelKey modelKey = (ModelKey) o;
73 private final LruCache<ModelKey<
[all...]
/external/llvm/utils/TableGen/
H A DCodeGenSchedule.cpp161 Record *ModelKey = getModelOrItinDef(ProcDef); local
162 if (!ProcModelMap.insert(std::make_pair(ModelKey, ProcModels.size())).second)
165 std::string Name = ModelKey->getName();
166 if (ModelKey->isSubClassOf("SchedMachineModel")) {
167 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries");
169 CodeGenProcModel(ProcModels.size(), Name, ModelKey, ItinsDef));
173 if (!ModelKey->getValueAsListOfDefs("IID").empty())
177 ProcDef->getValueAsDef("SchedModel"), ModelKey));

Completed in 89 milliseconds