- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for isSurrogate (0.07 seconds)
-
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
} } else { // and everything else is replaced with FFFD. assertEscaping(xmlEscaper, "\uFFFD", ch); } } // Test _all_ allowed characters (including surrogate values). for (char ch = 0x20; ch <= 0xFFFD; ch++) { // There are a small number of cases to consider, so just do it manually. if (ch == '&') { assertEscaping(xmlEscaper, "&", ch);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 22:03:28 GMT 2025 - 4.8K bytes - Click Count (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.Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
doc/go_spec.html
by construction. The escapes <code>\u</code> and <code>\U</code> represent Unicode code points so within them some values are illegal, in particular those above <code>0x10FFFF</code> and surrogate halves. </p> <p> After a backslash, certain single-character escapes represent special values: </p> <pre class="grammar"> \a U+0007 alert or bell \b U+0008 backspace \f U+000C form feed
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1)