Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for some (0.42 sec)

  1. src/archive/zip/reader.go

    		// Name and Comment use only single-byte runes that overlap with UTF-8.
    		f.NonUTF8 = false
    	default:
    		// Might be UTF-8, might be some other encoding; preserve existing flag.
    		// Some ZIP writers use UTF-8 encoding without setting the UTF-8 flag.
    		// Since it is impossible to always distinguish valid UTF-8 from some
    		// other encoding (e.g., GBK or Shift-JIS), we trust the flag.
    		f.NonUTF8 = f.Flags&0x800 == 0
    	}
    
    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/s3select/csv/reader.go

    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    			// ReadFull returns ErrUnexpectedEOF.
    			return dst[:n], err
    		}
    		dst = dst[:n]
    		if err == io.ErrUnexpectedEOF {
    			return dst, io.EOF
    		}
    	}
    	// Read until next line.
    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)
  3. internal/s3select/simdj/reader.go

    	}
    	return nil
    }
    
    // startReader will start a reader that accepts input from r.input.
    // Input should be root -> object input. Each root indicates a record.
    // If r.input is closed, it is assumed that no more input will come.
    // When this function returns r.readerWg will be decremented and r.decoded will be closed.
    // On errors, r.err will be set. This should only be accessed after r.decoded has been closed.
    func (r *Reader) startReader() {
    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)
  4. src/archive/tar/reader.go

    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
    	}
    	hdr.Format.mayOnlyBe(FormatGNU)
    
    	var p parser
    	hdr.Size = p.parseNumeric(blk.toGNU().realSize())
    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)
  5. internal/hash/reader.go

    // When size is >=0 it *must* match the amount of data provided by r.
    //
    // NewReader may try merge the given size, MD5 and SHA256 values
    // into src - if src is a Reader - to avoid computing the same
    // checksums multiple times.
    // NewReader enforces S3 compatibility strictly by ensuring caller
    // does not send more content than specified size.
    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)
Back to top