Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UTF16FromString (0.38 sec)

  1. src/os/os_windows_test.go

    	// Create a file whose name contains unpaired surrogates.
    	// Use syscall.CreateFile instead of os.Create to simulate a file that is created by
    	// a non-Go program so the file name hasn't gone through syscall.UTF16FromString.
    	dirw := utf16.Encode([]rune(dir))
    	pathw := append(dirw, namew...)
    	fd, err := syscall.CreateFile(&pathw[0], syscall.GENERIC_ALL, 0, nil, syscall.CREATE_NEW, 0, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top