<qiyuangong>191_Number_of_1_Bits_2.py
def hammingWeight( n):
    count = 0
    while n:
        n &= n - 1
        count += 1
    return count
def sample_funcname ( var_0 ) :
    var_2 = 0
    while var_0 :
        var_0 &= var_0 - 1
        var_2 += 1
    return var_2
