Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for do (0.11 sec)

  1. src/archive/zip/reader.go

    		// Thus, FileHeader.Modified.Location() == time.UTC is useful for
    		// determining whether extended timestamps are present.
    		// This is necessary for users that need to do additional time
    		// calculations when dealing with legacy ZIP formats.
    		if f.ModifiedTime != 0 || f.ModifiedDate != 0 {
    			f.Modified = modified.In(timeZone(msdosModified.Sub(modified)))
    		}
    	}
    
    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

    		return nil, ErrFieldTooLong
    	}
    	return buf, err
    }
    
    // discard skips n bytes in r, reporting an error if unable to do so.
    func discard(r io.Reader, n int64) error {
    	// If possible, Seek to the last byte before the end of the data section.
    	// Do this because Seek is often lazy about reporting errors; this will mask
    	// the fact that the stream may be truncated. We can rely on the
    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