MCPcopy Create free account
hub / github.com/numpy/numpy / _is_Opteron

Method _is_Opteron

numpy/distutils/cpuinfo.py:160–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 self.info[0]['model name']) is not None
159
160 def _is_Opteron(self):
161 return re.match(r'.*?Opteron\b',
162 self.info[0]['model name']) is not None
163
164 def _is_Hammer(self):
165 return re.match(r'.*?Hammer\b',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected