Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Fields (0.15 sec)

  1. src/archive/zip/reader_test.go

    				Content:  []byte("This small file is in ZIP64 format.\n"),
    				Modified: time.Date(2012, 8, 10, 14, 33, 32, 0, time.UTC),
    				Mode:     0644,
    			},
    		},
    	},
    	// Another zip64 file with different Extras fields. (golang.org/issue/7069)
    	{
    		Name: "zip64-2.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "README",
    				Content:  []byte("This small file is in ZIP64 format.\n"),
    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

    			Name:     "GNU2/GNU2/long-path-name",
    			Linkname: "GNU4/GNU4/long-linkpath-name",
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '2',
    			Format:   FormatGNU,
    		}},
    	}, {
    		// GNU tar file with atime and ctime fields set.
    		// Created with the GNU tar v1.27.1.
    		//	tar --incremental -S -cvf gnu-incremental.tar test2
    		file: "testdata/gnu-incremental.tar",
    		headers: []*Header{{
    			Name:       "test2/",
    			Mode:       16877,
    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)
  3. src/bytes/reader_test.go

    			defer wg.Done()
    			var buf [1]byte
    			r.ReadAt(buf[:], int64(i))
    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
Back to top