Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _getNCPUs
Method
_getNCPUs
numpy/distutils/cpuinfo.py:264–265 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
262
return
len(self.info) == 1
263
264
def
_getNCPUs(self):
265
return
len(self.info)
266
267
def
_has_fdiv_bug(self):
268
return
self.info[0][
'fdiv_bug'
]==
'yes'
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected