/guava/guava/src/com/google/common/primitives/Longs.java
long cap = Long.MIN_VALUE + radix;
long cap = Long.MIN_VALUE / radix;
} int digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix) { return null; } long accum = -digit; <extra_id_0> while (index < string.length()) { digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix || accum < cap) { return null; } accum *= radix;