Searched refs:Variable (Results 1 - 1 of 1) sorted by relevance

/gem5/src/python/m5/util/
H A Dsmartdict.py53 class Variable(str): class in inherits:str
54 """Intelligent proxy class for SmartDict. Variable will use the
128 """returns a Variable proxy if the values exists in the database and
132 return Variable(dict.get(self, key))
147 yield Variable(value)
151 yield key, Variable(value)
154 return Variable(dict.get(self, key, str(default)))
157 return Variable(dict.setdefault(self, key, str(default)))

Completed in 4 milliseconds