Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/archive/tar/reader_test.go

    		cnt, _ := io.ReadFull(tr, []byte{0})
    		if cnt > 0 && hdr.Typeflag != TypeReg {
    			t.Errorf("ReadFull(...): got %d bytes, want 0 bytes", cnt)
    		}
    	}
    
    	// File is crafted with 16 entries. The later 8 are identical to the first
    	// 8 except that the size is set.
    	if len(hdrs) != 16 {
    		t.Fatalf("len(hdrs): got %d, want %d", len(hdrs), 16)
    	}
    	for i := 0; i < 8; i++ {
    		hdr1, hdr2 := hdrs[i+0], hdrs[i+8]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
Back to top