- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for digit (0.01 sec)
-
android/guava/src/com/google/common/primitives/UnsignedLongs.java
int digit = Character.digit(string.charAt(pos), radix); if (digit == -1) { throw new NumberFormatException(string); } if (pos > maxSafePos && ParseOverflowDetection.overflowInParse(value, digit, radix)) { throw new NumberFormatException("Too large for unsigned long: " + string); } value = (value * radix) + digit; } return value; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
throw new NumberFormatException(); } int octet = 0; for (int i = start; i < end; i++) { octet *= 10; int digit = Character.digit(ipString.charAt(i), 10); if (digit < 0) { throw new NumberFormatException(); } octet += digit; } if (octet > 255) { throw new NumberFormatException(); } return (byte) octet; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
throw new NumberFormatException(); } int octet = 0; for (int i = start; i < end; i++) { octet *= 10; int digit = Character.digit(ipString.charAt(i), 10); if (digit < 0) { throw new NumberFormatException(); } octet += digit; } if (octet > 255) { throw new NumberFormatException(); } return (byte) octet; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
guava/src/com/google/common/net/UrlEscapers.java
* <li>All other characters are converted into one or more bytes using UTF-8 encoding and each * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p>This escaper is suitable for escaping parameter names and values even when <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* #murmur3_32_fixed(int)} instead. */ @Deprecated @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks public static HashFunction murmur3_32(int seed) { return new Murmur3_32HashFunction(seed, /* supplementaryPlaneFix= */ false); } /** * Returns a hash function implementing the <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Longs.java
return null; } int digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix) { return null; } long accum = -digit; long cap = Long.MIN_VALUE / radix; while (index < string.length()) { digit = AsciiDigits.digit(string.charAt(index++)); if (digit < 0 || digit >= radix || accum < cap) { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
if (pos == limit) return false // Malformed. val c = string[pos++] val digit = when (c) { in 'a'..'z' -> c - 'a' in 'A'..'Z' -> c - 'A' in '0'..'9' -> c - '0' + 26 else -> return false // Malformed. } val deltaI = digit * w if (i > Int.MAX_VALUE - deltaI) return false // Prevent overflow. i += deltaI
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
WHITESPACE(CharMatcher.whitespace(), WHITESPACE_CHARACTERS), HASH(CharMatcher.is('#'), "#"), ASCII(CharMatcher.ascii(), ASCII_CHARACTERS), WESTERN_DIGIT("0123456789"), ALL_DIGIT(CharMatcher.digit(), ALL_DIGITS), OPS_5("+-*/%"), HEX_16(CharMatcher.inRange('0', '9').or(CharMatcher.inRange('A', 'F')), "0123456789ABCDEF"), HEX_22( CharMatcher.inRange('0', '9')
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
return Digit.INSTANCE; } /** * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char) * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0', * '9')}. * * @deprecated Many digits are supplementary characters; see the class documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT}) */ @Deprecated
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
* <li>All other characters are converted into one or more bytes using UTF-8 encoding and each * byte is then represented by the 3-character string "%XY", where "XY" is the two-digit, * uppercase, hexadecimal representation of the byte value. * </ul> * * <p>This escaper is suitable for escaping parameter names and values even when <a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0)