<qiyuangong>751_IP_to_CIDR_1.java
private long ipToLong(String ip) {
        long ans = 0;
        for (String x: ip.split("\\.")) {
            ans = 256 * ans + Integer.valueOf(x);
        }
        return ans;
    }
private long sample_funcname ( String var_1 ) {
  long var_3 = 0 ;
  for ( String var_6 : var_1 . split ( "\\." ) ) {
    var_3 = 256 * var_3 + Integer . valueOf ( var_6 ) ;
  }
  return var_3 ;
}
