Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StringToUTF16 (0.11 sec)

  1. src/os/os_windows_test.go

    	off := len(rd.pathBuf) * 2
    	rd.pathBuf = append(rd.pathBuf, s...)
    	return uint16(off)
    }
    
    func (rd *reparseData) addString(s string) (offset, length uint16) {
    	p := syscall.StringToUTF16(s)
    	return rd.addUTF16s(p), uint16(len(p)-1) * 2 // do not include terminating NUL in the length (as per PrintNameLength and SubstituteNameLength documentation)
    }
    
    func (rd *reparseData) addSubstituteName(name string) {
    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