Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zeroKey (0.05 sec)

  1. src/archive/zip/reader_test.go

    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
Back to top