Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for UTF16 (0.11 sec)

  1. internal/s3select/jstream/decoder.go

    	c = d.next()
    	if !utf16.IsSurrogate(r) || c != '\\' {
    		d.scratch.addRune(r)
    		goto scan
    	}
    	if c = d.next(); c != 'u' {
    		d.scratch.addRune(r)
    		goto scan_esc
    	}
    
    	r2 := d.u4()
    	if r2 < 0 {
    		return "", d.mkError(ErrSyntax, "in unicode escape sequence")
    	}
    
    	// write surrogate pair
    	d.scratch.addRune(utf16.DecodeRune(r, r2))
    	c = d.next()
    	goto scan
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. api/go1.23.txt

    pkg syscall (windows-amd64), const WSAENOPROTOOPT = 10042 #62254
    pkg syscall (windows-amd64), const WSAENOPROTOOPT Errno #62254
    pkg syscall, const EBADMSG Errno #67998
    pkg syscall, const EPROTO Errno #67998
    pkg unicode/utf16, func RuneLen(int32) int #44940
    pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
    pkg unique, method (Handle[$0]) Value() $0 #62483
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. internal/s3select/jstream/decoder_test.go

    func TestDecoderNested(t *testing.T) {
    	var (
    		counter int
    		mv      *MetaValue
    		body    = `{
      "1": {
        "bio": "bada bing bada boom",
        "id": 0,
        "name": "Roberto",
        "nested1": {
          "bio": "utf16 surrogate (\ud834\udcb2)\n\u201cutf 8\u201d",
          "id": 1.5,
          "name": "Roberto*Maestro",
          "nested2": { "nested2arr": [0,1,2], "nested3": {
            "nested4": { "depth": "recursion" }}
    			}
    		}
      },
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top