Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fail (0.15 sec)

  1. internal/s3select/json/reader.go

    func (r *Reader) Close() error {
    	// Close the input.
    	err := r.readCloser.Close()
    	for range r.valueCh {
    		// Drain values so we don't leak a goroutine.
    		// Since we have closed the input, it should fail rather quickly.
    	}
    	return err
    }
    
    // NewReader - creates new JSON reader using readCloser.
    func NewReader(readCloser io.ReadCloser, args *ReaderArgs) *Reader {
    	readCloser = &syncReadCloser{rc: readCloser}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 24 03:58:53 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/reader.go

    type MonitoredReader struct {
    	r        io.Reader
    	throttle *bucketThrottle
    	ctx      context.Context // request context
    	lastErr  error           // last error reported, if this non-nil all reads will fail.
    	m        *Monitor
    	opts     *MonitorReaderOptions
    }
    
    // BucketOptions represents the bucket and optionally its replication target pair.
    type BucketOptions struct {
    	Name           string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    		// data, but we are tolerant of cases where the uncompressed size is
    		// zero but compressed size is not.
    		if f.UncompressedSize64 != 0 {
    			return &dirReader{ErrFormat}, nil
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top