Home
last modified time | relevance | path

Searched refs:ModelKey (Results 1 – 5 of 5) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DModelCache.java19 private final LruCache<ModelKey<A>, B> cache;
26 cache = new LruCache<ModelKey<A>, B>(size) { in ModelCache()
28 protected void onItemEvicted(ModelKey<A> key, B item) { in ModelCache()
44 ModelKey<A> key = ModelKey.get(model, width, height); in get()
59 ModelKey<A> key = ModelKey.get(model, width, height); in put()
64 static final class ModelKey<A> { class in ModelCache
65 private static final Queue<ModelKey<?>> KEY_QUEUE = Util.createQueue(0);
71 static <A> ModelKey<A> get(A model, int width, int height) { in get()
73 ModelKey<A> modelKey = (ModelKey<A>) KEY_QUEUE.poll(); in get()
75 modelKey = new ModelKey<A>(); in get()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenSchedule.cpp280 Record *ModelKey = getModelOrItinDef(ProcDef); in addProcModel() local
281 if (!ProcModelMap.insert(std::make_pair(ModelKey, ProcModels.size())).second) in addProcModel()
284 std::string Name = ModelKey->getName(); in addProcModel()
285 if (ModelKey->isSubClassOf("SchedMachineModel")) { in addProcModel()
286 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
287 ProcModels.emplace_back(ProcModels.size(), Name, ModelKey, ItinsDef); in addProcModel()
291 if (!ModelKey->getValueAsListOfDefs("IID").empty()) in addProcModel()
294 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
/external/llvm/utils/TableGen/
DCodeGenSchedule.cpp159 Record *ModelKey = getModelOrItinDef(ProcDef); in addProcModel() local
160 if (!ProcModelMap.insert(std::make_pair(ModelKey, ProcModels.size())).second) in addProcModel()
163 std::string Name = ModelKey->getName(); in addProcModel()
164 if (ModelKey->isSubClassOf("SchedMachineModel")) { in addProcModel()
165 Record *ItinsDef = ModelKey->getValueAsDef("Itineraries"); in addProcModel()
166 ProcModels.emplace_back(ProcModels.size(), Name, ModelKey, ItinsDef); in addProcModel()
170 if (!ModelKey->getValueAsListOfDefs("IID").empty()) in addProcModel()
173 ProcDef->getValueAsDef("SchedModel"), ModelKey); in addProcModel()
/external/syzkaller/vendor/google.golang.org/appengine/datastore/
Dkey.go294 ModelKey: keyToProto("", NewIncompleteKey(c, kind, parent)),
/external/syzkaller/vendor/google.golang.org/appengine/internal/datastore/
Ddatastore_v3.pb.go2561 ModelKey *Reference `protobuf:"bytes,1,opt,name=model_key" json:"model_key,omitempty"` member
2581 return m.ModelKey