Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/poll/fd_windows.go

    // by InitBufs, so it can be released by garbage collector.
    func (o *operation) ClearBufs() {
    	for i := range o.bufs {
    		o.bufs[i].Buf = nil
    	}
    	o.bufs = o.bufs[:0]
    }
    
    func (o *operation) InitMsg(p []byte, oob []byte) {
    	o.InitBuf(p)
    	o.msg.Buffers = &o.buf
    	o.msg.BufferCount = 1
    
    	o.msg.Name = nil
    	o.msg.Namelen = 0
    
    	o.msg.Flags = 0
    	o.msg.Control.Len = uint32(len(oob))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top