Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hint (0.26 sec)

  1. src/archive/zip/reader.go

    	f.CompressedSize = b.uint32()
    	f.UncompressedSize = b.uint32()
    	f.CompressedSize64 = uint64(f.CompressedSize)
    	f.UncompressedSize64 = uint64(f.UncompressedSize)
    	filenameLen := int(b.uint16())
    	extraLen := int(b.uint16())
    	commentLen := int(b.uint16())
    	b = b[4:] // skipped start disk number and internal attributes (2x uint16)
    	f.ExternalAttrs = b.uint32()
    	f.headerOffset = int64(b.uint32())
    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)
  2. internal/bucket/bandwidth/reader.go

    }
    
    // MonitorReaderOptions provides configurable options for monitor reader implementation.
    type MonitorReaderOptions struct {
    	BucketOptions
    	HeaderSize int
    }
    
    // Read implements a throttled read
    func (r *MonitoredReader) Read(buf []byte) (n int, err error) {
    	if r.throttle == nil {
    		return r.r.Read(buf)
    	}
    	if r.lastErr != nil {
    		err = r.lastErr
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 06 03:21:59 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader.go

    	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
    	queue        chan *queueItem  // output from workers in order
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/hash/reader.go

    		return nil
    	}
    
    	r.contentHasher = cs.Type.Hasher()
    	if r.contentHasher == nil {
    		return ErrInvalidChecksum
    	}
    	return nil
    }
    
    func (r *Reader) Read(p []byte) (int, error) {
    	n, err := r.src.Read(p)
    	r.bytesRead += int64(n)
    	if r.sha256 != nil {
    		r.sha256.Write(p[:n])
    	}
    	if r.contentHasher != nil {
    		r.contentHasher.Write(p[:n])
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
Back to top