Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for helper (0.16 sec)

  1. src/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    			t.Errorf("incorrect header:\ngot  %+v\nwant %+v", *hdr1, *hdr2)
    		}
    	}
    }
    
    func TestMergePAX(t *testing.T) {
    	vectors := []struct {
    		in   map[string]string
    		want *Header
    		ok   bool
    	}{{
    		in: map[string]string{
    			"path":  "a/b/c",
    			"uid":   "1000",
    			"mtime": "1350244992.023960108",
    		},
    		want: &Header{
    			Name:    "a/b/c",
    			Uid:     1000,
    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