Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Gill (0.2 sec)

  1. src/archive/tar/writer.go

    }
    
    // Flush finishes writing the current file's block padding.
    // The current file must be fully written before Flush can be called.
    //
    // This is unnecessary as the next call to [Writer.WriteHeader] or [Writer.Close]
    // will implicitly flush out the file's padding.
    func (tw *Writer) Flush() error {
    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    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

    		fh.Method = Store
    		fh.Flags &^= 0x8 // we will not write a data descriptor
    
    		// Explicitly clear sizes as they have no meaning for directories.
    		fh.CompressedSize = 0
    		fh.CompressedSize64 = 0
    		fh.UncompressedSize = 0
    		fh.UncompressedSize64 = 0
    
    		ow = dirWriter{}
    	} else {
    		fh.Flags |= 0x8 // we will write a data descriptor
    
    		fw = &fileWriter{
    			zipw:      w.cw,
    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