Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WriteAt (0.13 sec)

  1. cmd/sftp-server-driver.go

    	w      *io.PipeWriter
    	r      *io.PipeReader
    	wg     *sync.WaitGroup
    	buffer map[int64][]byte
    	err    error
    
    	nextOffset int64
    	m          sync.Mutex
    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. api/go1.20.txt

    pkg io/fs, var SkipAll error #47209
    pkg io, func NewOffsetWriter(WriterAt, int64) *OffsetWriter #45899
    pkg io, method (*OffsetWriter) Seek(int64, int) (int64, error) #45899
    pkg io, method (*OffsetWriter) WriteAt([]uint8, int64) (int, error) #45899
    pkg io, method (*OffsetWriter) Write([]uint8) (int, error) #45899
    pkg io, type OffsetWriter struct #45899
    pkg math/rand, func Read //deprecated #20661
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top