def next_power_of_2()
in
utils/utils.py [0:0]
2
lines of code
2
McCabe index (conditional complexity)
def next_power_of_2(x): return 1 if x == 0 else 2 ** (x - 1).bit_length()