Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 42 of 42 for its (0.1 sec)

  1. src/archive/zip/writer.go

    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    // for the file metadata. [Writer] takes ownership of fh and may mutate
    // its fields. The caller must not modify fh after calling [Writer.CreateHeader].
    //
    // This returns a [Writer] to which the file contents should be written.
    // The file's contents must be written to the io.Writer before the next
    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)
  2. src/archive/tar/reader.go

    			if p.err != nil {
    				return nil, p.err
    			}
    			spd = append(spd, sparseEntry{Offset: offset, Length: length})
    		}
    
    		if s.isExtended()[0] > 0 {
    			// There are more entries. Read an extension header and parse its entries.
    			if _, err := mustReadFull(tr.r, blk[:]); err != nil {
    				return nil, err
    			}
    			s = blk.toSparse()
    			continue
    		}
    		return spd, nil // Done
    	}
    }
    
    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