Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/zip/reader.go

    	// if (data size / 30) >= end.directoryRecords.
    	if end.directorySize < uint64(size) && (uint64(size)-end.directorySize)/30 >= end.directoryRecords {
    		r.File = make([]*File, 0, end.directoryRecords)
    	}
    	r.Comment = end.comment
    	rs := io.NewSectionReader(rdr, 0, size)
    	if _, err = rs.Seek(r.baseOffset+int64(end.directoryOffset), io.SeekStart); err != nil {
    		return err
    	}
    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

    }
    
    // Next advances to the next entry in the tar archive.
    // The Header.Size determines how many bytes can be read for the next file.
    // Any remaining data in the current file is automatically discarded.
    // At the end of the archive, Next returns the error io.EOF.
    //
    // If Next encounters a non-local name (as defined by [filepath.IsLocal])
    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    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