- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for hex (0.19 sec)
-
android/guava/src/com/google/common/net/PercentEscaper.java
dest[9] = '%'; dest[11] = UPPER_HEX_DIGITS[cp & 0xF]; cp >>>= 4; dest[10] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; cp >>>= 2; dest[8] = UPPER_HEX_DIGITS[cp & 0xF]; cp >>>= 4; dest[7] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; cp >>>= 2; dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; cp >>>= 4; dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; cp >>>= 2;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } /** Helper to manually escape a 7-bit ascii character */ private String escapeAscii(char c) { Preconditions.checkArgument(c < 128); String hex = "0123456789ABCDEF"; return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} } /** Helper to manually escape a 7-bit ascii character */ private String escapeAscii(char c) { Preconditions.checkArgument(c < 128); String hex = "0123456789ABCDEF"; return "%" + hex.charAt((c >> 4) & 0xf) + hex.charAt(c & 0xf); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
* on the receiving instance; you must store and use the new encoding instance it returns, instead. * * <pre>{@code * // Do NOT do this * BaseEncoding hex = BaseEncoding.base16(); * hex.lowerCase(); // does nothing! * return hex.decode("deadbeef"); // throws an IllegalArgumentException * }</pre> * * <p>It is guaranteed that {@code encoding.decode(encoding.encode(x))} is always equal to {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongsTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
break; // everything after a '%' is ignored (it's a Scope ID): http://superuser.com/a/99753 } else if (Character.digit(c, 16) == -1) { return null; // Everything else must be a decimal or hex digit. } } // Now decide which address family to parse. if (hasColon) { if (hasDot) { ipString = convertDottedQuadToHex(ipString); if (ipString == null) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 44K bytes - Viewed (1) -
android/guava/src/com/google/common/primitives/Doubles.java
*/ String decimal = "(?:\\d+#(?:\\.\\d*#)?|\\.\\d+#)"; String completeDec = decimal + "(?:[eE][+-]?\\d+#)?[fFdD]?"; String hex = "(?:[0-9a-fA-F]+#(?:\\.[0-9a-fA-F]*#)?|\\.[0-9a-fA-F]+#)"; String completeHex = "0[xX]" + hex + "[pP][+-]?\\d+#[fFdD]?"; String fpPattern = "[+-]?(?:NaN|Infinity|" + completeDec + "|" + completeHex + ")"; fpPattern = fpPattern.replace( "#",
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertWithMessage("Radix: " + radix) .that(Ints.tryParse(Long.toString((long) LEAST - 1, radix), radix)) .isNull(); } assertWithMessage("Hex string and dec parm").that(Ints.tryParse("FFFF", 10)).isNull(); assertWithMessage("Mixed hex case").that((int) Ints.tryParse("ffFF", 16)).isEqualTo(65535); } /** * Encodes an integer as a string with given radix, then uses {@link Ints#tryParse(String, int)}
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 28.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
* "12AB" is the four hexadecimal digits representing the 16-bit code unit. */ private static String showCharacter(char c) { String hex = "0123456789ABCDEF"; char[] tmp = {'\\', 'u', '\0', '\0', '\0', '\0'}; for (int i = 0; i < 4; i++) { tmp[5 - i] = hex.charAt(c & 0xF); c = (char) (c >> 4); } return String.copyValueOf(tmp); } // Fast matchers
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0)