Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pydata/numexpr
/ is_bit_set
Function
is_bit_set
numexpr3/cpuinfo.py:578–581 ·
view source on GitHub ↗
(reg, bit)
Source
from the content-addressed store, hash-verified
576
return
(arch, bits)
577
578
def
is_bit_set(reg, bit):
579
mask = 1 << bit
580
is_set = reg & mask > 0
581
return
is_set
582
583
584
class
CPUID(object):
Callers
2
get_flags
Method · 0.85
_get_cpu_info_from_ibm_pa_features
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…