Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for ExternalAttrs (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/archive/zip/struct.go

    func (h *FileHeader) SetMode(mode fs.FileMode) {
    	h.CreatorVersion = h.CreatorVersion&0xff | creatorUnix<<8
    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    	// set MSDOS attributes too, as the original zip does.
    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    	if mode&0200 == 0 {
    		h.ExternalAttrs |= msdosReadOnly
    	}
    }
    
    // isZip64 reports whether the file size exceeds the 32 bit limit
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue May 28 21:41:09 GMT 2024
    - 12.1K bytes
    - Click Count (0)
  2. src/archive/zip/reader.go

    	filenameLen := int(b.uint16())
    	extraLen := int(b.uint16())
    	commentLen := int(b.uint16())
    	b = b[4:] // skipped start disk number and internal attributes (2x uint16)
    	f.ExternalAttrs = b.uint32()
    	f.headerOffset = int64(b.uint32())
    	d := make([]byte, filenameLen+extraLen+commentLen)
    	if _, err := io.ReadFull(r, d); err != nil {
    		return err
    	}
    	f.Name = string(d[:filenameLen])
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  3. api/go1.txt

    pkg archive/zip, type FileHeader struct, Comment string
    pkg archive/zip, type FileHeader struct, CompressedSize uint32
    pkg archive/zip, type FileHeader struct, CreatorVersion uint16
    pkg archive/zip, type FileHeader struct, ExternalAttrs uint32
    pkg archive/zip, type FileHeader struct, Extra []uint8
    pkg archive/zip, type FileHeader struct, Flags uint16
    pkg archive/zip, type FileHeader struct, Method uint16
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top