Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for inputs (0.18 sec)

  1. internal/s3select/json/reader.go

    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    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.
    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/s3select/parquet/reader.go

    	parquettypes "github.com/fraugster/parquet-go/parquet"
    	jsonfmt "github.com/minio/minio/internal/s3select/json"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Reader implements reading records from parquet input.
    type Reader struct {
    	io.Closer
    	r *parquetgo.FileReader
    }
    
    // NewParquetReader creates a Reader2 from a io.ReadSeekCloser.
    func NewParquetReader(rsc io.ReadSeekCloser, _ *ReaderArgs) (r *Reader, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  3. internal/hash/reader.go

    	trailer http.Header
    
    	sha256 hash.Hash
    }
    
    // Options are optional arguments to NewReaderWithOpts, Options
    // simply converts positional arguments to NewReader() into a
    // more flexible way to provide optional inputs. This is currently
    // used by the FanOut API call mostly to disable expensive md5sum
    // calculation repeatedly under hash.Reader.
    type Options struct {
    	MD5Hex     string
    	SHA256Hex  string
    	Size       int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  4. internal/s3select/simdj/reader.go

    func (r *Reader) Close() error {
    	// Close the input.
    	// Potentially racy if the stream decoder is still reading.
    	if r.readCloser != nil {
    		r.readCloser.Close()
    	}
    	if r.exitReader != nil {
    		close(r.exitReader)
    		r.readerWg.Wait()
    		r.exitReader = nil
    		r.input = nil
    	}
    	return nil
    }
    
    // startReader will start a reader that accepts input from r.input.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // Thus, this function will read from the raw io.Reader to fetch extra headers.
    // This method mutates blk in the process.
    func (tr *Reader) readOldGNUSparseMap(hdr *Header, blk *block) (sparseDatas, error) {
    	// Make sure that the input format is GNU.
    	// Unfortunately, the STAR format also has a sparse header format that uses
    	// the same type flag but has a completely different layout.
    	if blk.getFormat() != FormatGNU {
    		return nil, ErrHeader
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    			f.Modified = modified.In(timeZone(msdosModified.Sub(modified)))
    		}
    	}
    
    	// Assume that uncompressed size 2³²-1 could plausibly happen in
    	// an old zip32 file that was sharding inputs into the largest chunks
    	// possible (or is just malicious; search the web for 42.zip).
    	// If needUSize is true still, it means we didn't see a zip64 extension.
    	// As long as the compressed size is not also 2³²-1 (implausible)
    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)
  7. internal/s3select/csv/reader.go

    	readCloser   io.ReadCloser    // raw input
    	buf          *bufio.Reader    // input to the splitter
    	columnNames  []string         // names of columns
    	nameIndexMap map[string]int64 // name to column index
    	current      [][]string       // current block of results to be returned
    	recordsRead  int              // number of records read in current slice
    	input        chan *queueItem  // input for workers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top