Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadGNUSparsePAXHeaders (0.13 sec)

  1. src/archive/tar/reader_test.go

    		}
    		if hdr.Size != v.wantSize {
    			t.Errorf("test %d, Header.Size = %d, want %d", i, hdr.Size, v.wantSize)
    		}
    	}
    }
    
    func TestReadGNUSparsePAXHeaders(t *testing.T) {
    	padInput := func(s string) string {
    		return s + string(zeroBlock[:blockPadding(int64(len(s)))])
    	}
    
    	vectors := []struct {
    		inputData string
    		inputHdrs map[string]string
    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