- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsSurrogate (0.09 sec)
-
android/guava/src/com/google/common/base/CharMatcher.java
* * <p>Supplementary characters are <a * href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">encoded * into a {@code String} using surrogate pairs</a>, and a {@code CharMatcher} treats these just as * two separate characters. {@link #countIn} counts each supplementary character as 2 {@code char}s. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"☻x\xe2\x98x", '�', len("☻x")}, // Invalid rune values should never match. {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", -1, -1}, {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", 0xD800, -1}, // Surrogate pair {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", utf8.MaxRune + 1, -1}, // Test the cutover to bytealg.Index when it is triggered in // the middle of rune that contains consecutive runs of equal bytes.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)