<awangdev>Count 1 in Binary_1.java
public int countOnes(int num) {
        int count = 0;
        for (int i = 1; i <= 32; i++) {
            count += num >> i & 1;
        }
        return count;
    }
public int sample_funcname ( int var_0 ) {
  int var_2 = 0 ;
  for ( int var_4 = 1 ;
  var_4 <= 32 ;
  var_4 ++ ) {
    var_2 += var_0 >> var_4 & 1 ;
  }
  return var_2 ;
}
