Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rawArr (0.04 sec)

  1. src/archive/tar/reader.go

    // and sets the curr reader appropriately.
    func (tr *Reader) handleSparseFile(hdr *Header, rawHdr *block) error {
    	var spd sparseDatas
    	var err error
    	if hdr.Typeflag == TypeGNUSparse {
    		spd, err = tr.readOldGNUSparseMap(hdr, rawHdr)
    	} else {
    		spd, err = tr.readGNUSparsePAXHeaders(hdr)
    	}
    
    	// If sp is non-nil, then this is a sparse file.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    		headers: []*Header{{
    			Name:       "test2/",
    			Mode:       16877,
    			Uid:        1000,
    			Gid:        1000,
    			Size:       14,
    			ModTime:    time.Unix(1441973427, 0),
    			Typeflag:   'D',
    			Uname:      "rawr",
    			Gname:      "dsnet",
    			AccessTime: time.Unix(1441974501, 0),
    			ChangeTime: time.Unix(1441973436, 0),
    			Format:     FormatGNU,
    		}, {
    			Name:       "test2/foo",
    			Mode:       33188,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. cmd/utils.go

    	// Replace all '%' to '%%' so that printer format parser
    	// to ignore URL encoded values.
    	rawURI := strings.ReplaceAll(r.RequestURI, "%", "%%")
    	req := struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}{r.Method, rawURI, header}
    
    	var buffer bytes.Buffer
    	enc := json.NewEncoder(&buffer)
    	enc.SetEscapeHTML(false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "hi\x80\x81\x82\x83bye",
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "rawr",
    				Gname:    "dsnet",
    				ModTime:  time.Unix(0, 0),
    				Format:   FormatGNU,
    			}, nil},
    			testClose{nil},
    		},
    		// TODO(dsnet): Re-enable this test when adding sparse support.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top