Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for offlet (0.16 sec)

  1. src/archive/tar/writer.go

    			// Format the sparse map.
    			formatSPD := func(sp sparseDatas, sa sparseArray) sparseDatas {
    				for i := 0; len(sp) > 0 && i < sa.MaxEntries(); i++ {
    					f.formatNumeric(sa.Entry(i).Offset(), sp[0].Offset)
    					f.formatNumeric(sa.Entry(i).Length(), sp[0].Length)
    					sp = sp[1:]
    				}
    				if len(sp) > 0 {
    					sa.IsExtended()[0] = 1
    				}
    				return sp
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	closed      bool
    	compressors map[uint16]Compressor
    	comment     string
    
    	// testHookCloseSizeOffset if non-nil is called with the size
    	// of offset of the central directory at Close.
    	testHookCloseSizeOffset func(size, offset uint64)
    }
    
    type header struct {
    	*FileHeader
    	offset uint64
    	raw    bool
    }
    
    // NewWriter returns a new [Writer] writing a zip file to w.
    func NewWriter(w io.Writer) *Writer {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top