Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadOldGNUSparseMap (0.16 sec)

  1. src/archive/tar/reader_test.go

    			t.Errorf("test %d, parsePAX():\ngot  %v\nwant %v", i, got, v.want)
    		}
    		if ok := err == nil; ok != v.ok {
    			t.Errorf("test %d, parsePAX(): got %v, want %v", i, ok, v.ok)
    		}
    	}
    }
    
    func TestReadOldGNUSparseMap(t *testing.T) {
    	populateSparseMap := func(sa sparseArray, sps []string) []string {
    		for i := 0; len(sps) > 0 && i < sa.maxEntries(); i++ {
    			copy(sa.entry(i), sps[0])
    			sps = sps[1:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
Back to top