Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tempfile (0.35 sec)

  1. src/archive/tar/reader_test.go

    }
    
    func TestFileReader(t *testing.T) {
    	type (
    		testRead struct { // Read(cnt) == (wantStr, wantErr)
    			cnt     int
    			wantStr string
    			wantErr error
    		}
    		testWriteTo struct { // WriteTo(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testRemaining struct { // logicalRemaining() == wantLCnt, physicalRemaining() == wantPCnt
    			wantLCnt int64
    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)
  2. src/archive/zip/reader_test.go

    		Name: "readme.zip",
    	},
    	{
    		Name:  "readme.notzip",
    		Error: ErrFormat,
    	},
    	{
    		Name: "dd.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "filename",
    				Content:  []byte("This is a test textfile.\n"),
    				Modified: time.Date(2011, 2, 2, 13, 6, 20, 0, time.UTC),
    				Mode:     0666,
    			},
    		},
    	},
    	{
    		// created in windows XP file manager.
    		Name: "winxp.zip",
    		File: []ZipTestFile{
    			{
    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)
Back to top