Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _getNCPUs
Method
_getNCPUs
numpy/distutils/cpuinfo.py:611–612 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
609
return
len(self.info) == 1
610
611
def
_getNCPUs(self):
612
return
len(self.info)
613
614
def
_has_mmx(self):
615
if
self.is_Intel():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected