Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for inverseSparseEntries (0.09 sec)

  1. src/archive/tar/tar_test.go

    		}
    		gotInverted := invertSparseEntries(append([]sparseEntry{}, v.in...), v.size)
    		if !slices.Equal(gotInverted, v.wantInverted) {
    			t.Errorf("test %d, inverseSparseEntries():\ngot  %v\nwant %v", i, gotInverted, v.wantInverted)
    		}
    	}
    }
    
    func TestFileInfoHeader(t *testing.T) {
    	fi, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    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