Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for TestReader (0.12 sec)

  1. src/archive/tar/writer_test.go

    		file: "testdata/pax-global-records.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag:   TypeXGlobalHeader,
    				PAXRecords: map[string]string{"path": "global1", "mtime": "1500000000.0"},
    			}, nil},
    			testHeader{Header{
    				Typeflag: TypeReg, Name: "file1",
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeReg,
    				Name:       "file2",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. api/go1.16.txt

    pkg testing/fstest, type MapFile struct, Mode fs.FileMode
    pkg testing/fstest, type MapFile struct, Sys interface{}
    pkg testing/iotest, func ErrReader(error) io.Reader
    pkg testing/iotest, func TestReader(io.Reader, []uint8) error
    pkg text/template, func ParseFS(fs.FS, ...string) (*Template, error)
    pkg text/template, method (*Template) ParseFS(fs.FS, ...string) (*Template, error)
    pkg text/template/parse, const NodeComment = 20
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	responseBody, err = io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(true, bytes.Equal(responseBody, []byte("hello three")))
    }
    
    // TestHeader - Validates the error response for an attempt to fetch non-existent object.
    func (s *TestSuiteCommon) TestHeader(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// obtain HTTP request to fetch an object from non-existent bucket/object.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top