Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for extra (0.18 sec)

  1. src/archive/zip/reader.go

    	// and we'll just ignore the Extra content in that case.
    	var modified time.Time
    parseExtras:
    	for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size
    		fieldTag := extra.uint16()
    		fieldSize := int(extra.uint16())
    		if len(extra) < fieldSize {
    			break
    		}
    		fieldBuf := extra.sub(fieldSize)
    
    		switch fieldTag {
    		case zip64ExtraID:
    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. src/archive/tar/reader.go

    // to store the rest of the sparse map.
    //
    // The Header.Size does not reflect the size of any extended headers used.
    // 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.
    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)
Back to top