(bit)
| 1694 | feature_bits = DataSource.winreg_feature_bits() |
| 1695 | |
| 1696 | def is_set(bit): |
| 1697 | mask = 0x80000000 >> bit |
| 1698 | retval = mask & feature_bits > 0 |
| 1699 | return retval |
| 1700 | |
| 1701 | # http://en.wikipedia.org/wiki/CPUID |
| 1702 | # http://unix.stackexchange.com/questions/43539/what-do-the-flags-in-proc-cpuinfo-mean |
no outgoing calls
no test coverage detected
searching dependent graphs…