Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for tryParseDecimal (0.06 seconds)

  1. android/guava/src/com/google/common/net/InetAddresses.java

          octet += digit;
        }
        if (octet > 255) {
          throw new NumberFormatException();
        }
        return (byte) octet;
      }
    
      /** Returns a -1 if unable to parse */
      private static int tryParseDecimal(String string, int start, int end) {
        int decimal = 0;
        int max = Integer.MAX_VALUE / 10; // for int overflow detection
        for (int i = start; i < end; i++) {
          if (decimal > max) {
            return -1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
Back to Top