Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _values (0.16 sec)

  1. src/archive/zip/reader_test.go

    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		},
    		ok: false,
    	}, {
    		in: map[string]string{
    			"missing":          "missing",
    			"SCHILY.xattr.key": "value",
    		},
    		want: &Header{
    			Xattrs: map[string]string{"key": "value"},
    			PAXRecords: map[string]string{
    				"missing":          "missing",
    				"SCHILY.xattr.key": "value",
    			},
    		},
    		ok: true,
    	}}
    
    	for i, v := range vectors {
    		got := new(Header)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top