Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for surrogate (0.19 sec)

  1. 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
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K 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},
    	}
    	for _, tt := range tests {
    		if got := IndexRune([]byte(tt.in), tt.rune); got != tt.want {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. 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
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K 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
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top