Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for surr2 (0.04 sec)

  1. src/runtime/os_windows.go

    )
    
    // writeConsole writes bufLen bytes from buf to the console File.
    // It returns the number of bytes written.
    func writeConsole(handle uintptr, buf unsafe.Pointer, bufLen int32) int {
    	const surr2 = (surrogateMin + surrogateMax + 1) / 2
    
    	// Do not use defer for unlock. May cause issues when printing a panic.
    	lock(&utf16ConsoleBackLock)
    
    	b := (*[1 << 30]byte)(buf)[:bufLen]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top