Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readOldGNUSparseMap (0.07 sec)

  1. src/archive/tar/reader_test.go

    		v.input = v.input[copy(blk[:], v.input):]
    		tr := Reader{r: bytes.NewReader(v.input)}
    		got, err := tr.readOldGNUSparseMap(&hdr, &blk)
    		if !slices.Equal(got, v.wantMap) {
    			t.Errorf("test %d, readOldGNUSparseMap(): got %v, want %v", i, got, v.wantMap)
    		}
    		if err != v.wantErr {
    			t.Errorf("test %d, readOldGNUSparseMap() = %v, want %v", i, err, v.wantErr)
    		}
    		if hdr.Size != v.wantSize {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top