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

Method __machine

numpy/distutils/cpuinfo.py:333–334  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

331 try: return self.info.get('MACHINE')
332 except Exception: pass
333 def __machine(self, n):
334 return self.info.get('MACHINE').lower() == 'ip%s' % (n)
335 def _is_IP19(self): return self.__machine(19)
336 def _is_IP20(self): return self.__machine(20)
337 def _is_IP21(self): return self.__machine(21)

Callers 15

_is_IP19Method · 0.95
_is_IP20Method · 0.95
_is_IP21Method · 0.95
_is_IP22Method · 0.95
_is_IP22_4kMethod · 0.95
_is_IP22_5kMethod · 0.95
_is_IP24Method · 0.95
_is_IP25Method · 0.95
_is_IP26Method · 0.95
_is_IP27Method · 0.95
_is_IP28Method · 0.95
_is_IP30Method · 0.95

Calls 2

lowerMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected