Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for placement (0.19 sec)

  1. doc/go1.17_spec.html

    and the second value, of type <code>rune</code>, will be the value of
    the corresponding code point.  If the iteration encounters an invalid
    UTF-8 sequence, the second value will be <code>0xFFFD</code>,
    the Unicode replacement character, and the next iteration will advance
    a single byte in the string.
    </li>
    
    <li>
    The iteration order over maps is not specified
    and is not guaranteed to be the same from one iteration to the next.
    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.go

    }
    
    // ToValidUTF8 treats s as UTF-8-encoded bytes and returns a copy with each run of bytes
    // representing invalid UTF-8 replaced with the bytes in replacement, which may be empty.
    func ToValidUTF8(s, replacement []byte) []byte {
    	b := make([]byte, 0, len(s)+len(replacement))
    	invalid := false // previous byte was from an invalid UTF-8 sequence
    	for i := 0; i < len(s); {
    		c := s[i]
    		if c < utf8.RuneSelf {
    			i++
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  3. doc/go_spec.html

    and the second value, of type <code>rune</code>, will be the value of
    the corresponding code point. If the iteration encounters an invalid
    UTF-8 sequence, the second value will be <code>0xFFFD</code>,
    the Unicode replacement character, and the next iteration will advance
    a single byte in the string.
    </li>
    
    <li>
    The iteration order over maps is not specified
    and is not guaranteed to be the same from one iteration to the next.
    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)
Back to top