- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for IsSurrogate (0.05 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
MAX_LOW_SURROGATE, MAX_HIGH_SURROGATE, MIN_LOW_SURROGATE, MIN_HIGH_SURROGATE, }; for (char surrogate : surrogates) { builder.add(newString(surrogate)); builder.add(newString(surrogate, 'n')); builder.add(newString('n', surrogate)); builder.add(newString(surrogate, surrogate)); } builder.add(newString(MIN_LOW_SURROGATE, MAX_HIGH_SURROGATE)); ILL_FORMED_STRINGS = builder.build(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
} // check for proceeding surrogate pair c = d.next() if !utf16.IsSurrogate(r) || c != '\\' { d.scratch.addRune(r) goto scan } if c = d.next(); c != 'u' { d.scratch.addRune(r) goto scan_esc } r2 := d.u4() if r2 < 0 { return "", d.mkError(ErrSyntax, "in unicode escape sequence") } // write surrogate pair d.scratch.addRune(utf16.DecodeRune(r, r2))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* Specifically "\r" (carriage return) is preserved in the output, which may result in it being * silently converted to "\n" when the XML is parsed. * * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode * validation on its input. */ public static Escaper xmlContentEscaper() { return XML_CONTENT_ESCAPER; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 6.4K bytes - Viewed (0) -
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);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 22:03:28 UTC 2025 - 4.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
try { char low = version.charAt(i + 1); char[] both = {character, low}; c = Character.codePointAt(both, 0); i++; } catch (IndexOutOfBoundsException ex) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
new SimpleOptionalitySelector(), new ManagedScopeDeriver(getScopeManager())), new ManagedDependencyContextRefiner(getScopeManager())); } /** * This method produces "surrogate" type registry that is static: it aims users that want to use * Maven-Resolver without involving Maven Core and related things. * <p>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 09:40:15 UTC 2025 - 7.9K bytes - Viewed (0) -
internal/s3select/jstream/decoder_test.go
var ( counter int mv *MetaValue body = `{ "1": { "bio": "bada bing bada boom", "id": 0, "name": "Roberto", "nested1": { "bio": "utf16 surrogate (\ud834\udcb2)\n\u201cutf 8\u201d", "id": 1.5, "name": "Roberto*Maestro", "nested2": { "nested2arr": [0,1,2], "nested3": { "nested4": { "depth": "recursion" }} } } }, "2": {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
} } /** * This verifies that putUnencodedChars(String) and hashUnencodedChars(String) are equivalent, * even for funny strings composed by (possibly unmatched, and mostly illegal) surrogate * characters. (But doesn't test that they do the right thing - just their consistency). */ private static void assertHashStringWithSurrogatesEquivalence( HashFunction hashFunction, Random random) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
} } /** * This verifies that putUnencodedChars(String) and hashUnencodedChars(String) are equivalent, * even for funny strings composed by (possibly unmatched, and mostly illegal) surrogate * characters. (But doesn't test that they do the right thing - just their consistency). */ private static void assertHashStringWithSurrogatesEquivalence( HashFunction hashFunction, Random random) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0)