Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_valid (0.06 sec)

  1. src/archive/tar/tar_test.go

    		wantValid: false,
    	}, {
    		in: []sparseEntry{{1, 3}, {2, 2}}, size: 10,
    		wantValid: false,
    	}}
    
    	for i, v := range vectors {
    		gotValid := validateSparseEntries(v.in, v.size)
    		if gotValid != v.wantValid {
    			t.Errorf("test %d, validateSparseEntries() = %v, want %v", i, gotValid, v.wantValid)
    		}
    		if !v.wantValid {
    			continue
    		}
    		gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top