Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for helper (0.14 sec)

  1. src/archive/tar/reader.go

    			}
    			if hdr.Typeflag == TypeXGlobalHeader {
    				mergePAX(hdr, paxHdrs)
    				return &Header{
    					Name:       hdr.Name,
    					Typeflag:   hdr.Typeflag,
    					Xattrs:     hdr.Xattrs,
    					PAXRecords: hdr.PAXRecords,
    					Format:     format,
    				}, nil
    			}
    			continue // This is a meta header affecting the next header
    		case TypeGNULongName, TypeGNULongLink:
    			format.mayOnlyBe(FormatGNU)
    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)
  2. src/archive/zip/reader.go

    	}
    	b = b[22:] // skip over most of the header
    	filenameLen := int(b.uint16())
    	extraLen := int(b.uint16())
    	return int64(fileHeaderLen + filenameLen + extraLen), nil
    }
    
    // readDirectoryHeader attempts to read a directory header from r.
    // It returns io.ErrUnexpectedEOF if it cannot read a complete header,
    // and ErrFormat if it doesn't find a valid header signature.
    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)
  3. internal/hash/reader.go

    	size       int64
    	actualSize int64
    
    	checksum      etag.ETag
    	contentSHA256 []byte
    
    	// Content checksum
    	contentHash   Checksum
    	contentHasher hash.Hash
    	disableMD5    bool
    
    	trailer http.Header
    
    	sha256 hash.Hash
    }
    
    // Options are optional arguments to NewReaderWithOpts, Options
    // simply converts positional arguments to NewReader() into a
    // more flexible way to provide optional inputs. This is currently
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
Back to top