comefrom: <qiyuangong>868_Binary_Gap_1.py
code: def binaryGap( n: int) -> int:
      current = 1
      last1 = -1
      out = 0
      while n > 0:
          if n % 2 == 1:
              if last1 >= 1:
                  out = max(out, current - last1)
              last1 = current
          current += 1
          n = n // 2
      return out
masked: def sample_funcname ( var_0 : int ) -> int :
      var_3 = 1
      var_4 = - 1
      var_6 = 0
      while var_0 > 0 :
          if var_0 % 2 == 1 :
              if var_4 >= 1 :
                  var_6 = max ( var_6 , var_3 - var_4 )
              var_4 = var_3
          var_3 += 1
          var_0 = var_0 // 2
      return var_6
  