Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ClearBufs (0.21 sec)

  1. src/internal/poll/fd_windows.go

    			b = b[maxRW:]
    		}
    		if len(b) > 0 {
    			o.bufs = append(o.bufs, syscall.WSABuf{Len: uint32(len(b)), Buf: &b[0]})
    		}
    	}
    }
    
    // ClearBufs clears all pointers to Buffers parameter captured
    // 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) {
    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