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

Method _is_Core2

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

Source from the content-addressed store, hash-verified

242 and re.match(r'.*?\blm\b', self.info[0]['flags']) is not None)
243
244 def _is_Core2(self):
245 return (self.is_64bit() and self.is_Intel() and
246 re.match(r'.*?Core\(TM\)2\b',
247 self.info[0]['model name']) is not None)
248
249 def _is_Itanium(self):
250 return re.match(r'.*?Itanium\b',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected