Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ReadCloser (0.14 sec)

  1. cmd/object-handlers.go

    	actualSize, err := objInfo.GetActualSize()
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	objectRSC := s3select.NewObjectReadSeekCloser(
    		func(offset int64) (io.ReadCloser, error) {
    			rs := &HTTPRangeSpec{
    				IsSuffixLength: false,
    				Start:          offset,
    				End:            -1,
    			}
    			opts.NoLock = true
    			return getObjectNInfo(ctx, bucket, object, rs, r.Header, opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    			atomic.AddUint64(&p.stats.mrfStats.TotalDroppedBytes, uint64(entry.sz))
    		}
    	}
    }
    
    func (p *ReplicationPool) persistToDrive(ctx context.Context, v MRFReplicateEntries) {
    	newReader := func() io.ReadCloser {
    		r, w := io.Pipe()
    		go func() {
    			// Initialize MRF meta header.
    			var data [4]byte
    			binary.LittleEndian.PutUint16(data[0:2], mrfMetaFormat)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    methods of each method set exactly once, and methods with the
    <a href="#Uniqueness_of_identifiers">same</a> names must
    have <a href="#Type_identity">identical</a> signatures.
    </p>
    
    <pre>
    type ReadCloser interface {
    	Reader   // includes methods of Reader in ReadCloser's method set
    	Close()  // illegal: signatures of Reader.Close and Close are different
    }
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top