Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for findSignatureInBlock (0.1 seconds)

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

  1. src/archive/zip/zip_test.go

    }
    
    func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool {
    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    		t.Fatalf("ReadAt: %v", err)
    	}
    
    	sigOff := findSignatureInBlock(d)
    	if sigOff == -1 {
    		t.Errorf("failed to find signature in block")
    		return false
    	}
    
    	dirOff, err := findDirectory64End(zip, zip.Size()-int64(len(d))+int64(sigOff))
    	if err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
Back to Top