Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gbit16 (0.1 sec)

  1. src/syscall/exec_plan9.go

    // It returns the string as a byte slice, or nil if b is too short to contain the length or
    // the full string.
    //
    //go:nosplit
    func gstringb(b []byte) []byte {
    	if len(b) < 2 {
    		return nil
    	}
    	n, b := gbit16(b)
    	if int(n) > len(b) {
    		return nil
    	}
    	return b[:n]
    }
    
    // Offset of the name field in a 9P directory entry - see UnmarshalDir() in dir_plan9.go
    const nameOffset = 39
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top