Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for surrogate (0.05 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top