Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MessageWriter (0.17 sec)

  1. internal/s3select/message.go

    		bufPool.Put(payload)
    	}
    }
    
    // Sends a single whole record.
    func (writer *messageWriter) SendRecord(payload *bytes.Buffer) error {
    	select {
    	case writer.payloadCh <- payload:
    		return nil
    	case <-writer.doneCh:
    		return fmt.Errorf("messageWriter is done")
    	}
    }
    
    func (writer *messageWriter) flushRecords() bool {
    	if writer.payloadBufferIndex == 0 {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top