- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for octal (0.04 sec)
-
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
} public void testDecodeLong() { assertThat(UnsignedLongs.decode("0xffffffffffffffff")).isEqualTo(0xffffffffffffffffL); assertThat(UnsignedLongs.decode("01234567")).isEqualTo(01234567); // octal assertThat(UnsignedLongs.decode("#1234567890abcdef")).isEqualTo(0x1234567890abcdefL); assertThat(UnsignedLongs.decode("987654321012345678")).isEqualTo(987654321012345678L);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
value = (value * radix) + digit; } return value; } /** * Returns the unsigned {@code long} value represented by the given string. * * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix: * * <ul> * <li>{@code 0x}<i>HexDigits</i> * <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i> * <li>{@code 0}<i>OctalDigits</i>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
return (int) (toLong(dividend) % toLong(divisor)); } /** * Returns the unsigned {@code int} value represented by the given string. * * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix: * * <ul> * <li>{@code 0x}<i>HexDigits</i> * <li>{@code 0X}<i>HexDigits</i> * <li>{@code #}<i>HexDigits</i> * <li>{@code 0}<i>OctalDigits</i>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* NumberFormatException} if the input string is invalid. * * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the * value {@code 83}. * * @since 16.0 */ public static Converter<String, Short> stringConverter() { return ShortConverter.INSTANCE; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* NumberFormatException} if the input string is invalid. * * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the * value {@code 83}. * * @since 16.0 */ public static Converter<String, Short> stringConverter() { return ShortConverter.INSTANCE; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
* NumberFormatException} if the input string is invalid. * * <p><b>Warning:</b> please see {@link Integer#decode} to understand exactly how strings are * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the * value {@code 83}. * * @since 16.0 */ public static Converter<String, Integer> stringConverter() { return IntConverter.INSTANCE; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); } int octet = 0; for (int i = start; i < end; i++) { octet *= 10;
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/primitives/Longs.java
* NumberFormatException} if the input string is invalid. * * <p><b>Warning:</b> please see {@link Long#decode} to understand exactly how strings are parsed. * For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the value * {@code 83L}. * * @since 16.0 */ public static Converter<String, Long> stringConverter() { return LongConverter.INSTANCE; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.1K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
if (length <= 0 || length > 3) { throw new NumberFormatException(); } // Disallow leading zeroes, because no clear standard exists on // whether these should be interpreted as decimal or octal. if (length > 1 && ipString.charAt(start) == '0') { throw new NumberFormatException(); } int octet = 0; for (int i = start; i < end; i++) { octet *= 10;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[0:0:0:0:0:1:0.0.0.0]/").host).isEqualTo("::1:0:0") } @Test fun hostIpv6WithIpv4SuffixWithOctalPrefix() { // Chrome interprets a leading '0' as octal; Firefox rejects them. (We reject them.) assertInvalid( "http://[0:0:0:0:0:1:0.0.0.000000]/", "Invalid URL host: \"[0:0:0:0:0:1:0.0.0.000000]\"", ) assertInvalid(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0)