Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for IsSurrogate (0.16 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. api/go1.txt

    pkg unicode/utf16, func DecodeRune(int32, int32) int32
    pkg unicode/utf16, func Encode([]int32) []uint16
    pkg unicode/utf16, func EncodeRune(int32) (int32, int32)
    pkg unicode/utf16, func IsSurrogate(int32) bool
    pkg unicode/utf8, const MaxRune ideal-char
    pkg unicode/utf8, const RuneError ideal-char
    pkg unicode/utf8, const RuneSelf ideal-int
    pkg unicode/utf8, const UTFMax ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  5. 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
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    D7FC..D7FF    ; disallowed                             # NA   <reserved-D7FC>..<reserved-D7FF>
    D800..DFFF    ; disallowed                             # 2.0  <surrogate-D800>..<surrogate-DFFF>
    E000..F8FF    ; disallowed                             # 1.1  <private-use-E000>..<private-use-F8FF>
    F900          ; mapped                 ; 8C48          # 1.1  CJK COMPATIBILITY IDEOGRAPH-F900
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
Back to top