Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for surrogate (0.07 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)
  3. doc/go1.17_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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              } else {
                int codePoint = Character.codePointAt(input, i);
                if (codePoint == c) {
                  // fall back to JDK getBytes instead of trying to handle invalid surrogates ourselves
                  putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset));
                  return this;
                }
                i++;
                update(4, codePointToFourUtf8Bytes(codePoint));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        pos: Int,
        limit: Int,
      ): List<Int> {
        val result = mutableListOf<Int>()
        var i = pos
        while (i < limit) {
          val c = this[i]
          result +=
            when {
              c.isSurrogate() -> {
                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top