MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / power_of_two

Function power_of_two

pythonmemorymodule/pefile.py:716–717  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

714
715
716def power_of_two(val):
717 return val != 0 and (val & (val - 1)) == 0
718
719
720def b(x):

Callers 1

adjust_FileAlignmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected