Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WHAT (0.12 sec)

  1. src/archive/zip/reader.go

    				} else {
    					err = err1
    				}
    			} else if r.hash.Sum32() != r.f.CRC32 {
    				err = ErrChecksum
    			}
    		} else {
    			// If there's not a data descriptor, we still compare
    			// the CRC32 of what we've read against the file header
    			// or TOC's CRC32, if it seems like it was set.
    			if r.f.CRC32 != 0 && r.hash.Sum32() != r.f.CRC32 {
    				err = ErrChecksum
    			}
    		}
    	}
    	r.err = err
    	return
    }
    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)
  2. src/archive/tar/reader.go

    			hdr.Format = format
    			ustar := tr.blk.toUSTAR()
    			prefix = p.parseString(ustar.prefix())
    
    			// For Format detection, check if block is properly formatted since
    			// the parser is more liberal than what USTAR actually permits.
    			notASCII := func(r rune) bool { return r >= 0x80 }
    			if bytes.IndexFunc(tr.blk[:], notASCII) >= 0 {
    				hdr.Format = FormatUnknown // Non-ASCII characters in block.
    			}
    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