Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for rawArr (0.08 sec)

  1. cmd/erasure-object.go

    }
    
    func (er erasureObjects) getObjectFileInfo(ctx context.Context, bucket, object string, opts ObjectOptions, readData bool) (FileInfo, []FileInfo, []StorageAPI, error) {
    	rawArr := make([]RawFileInfo, er.setDriveCount)
    	metaArr := make([]FileInfo, er.setDriveCount)
    	errs := make([]error, er.setDriveCount)
    	for i := range errs {
    		errs[i] = errDiskOngoingReq
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.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/zip/reader_test.go

    			z, err := OpenReader(test.file)
    			if err != nil {
    				t.Fatal(err)
    			}
    			var files []string
    			sawErr := false
    			err = fs.WalkDir(z, ".", func(path string, d fs.DirEntry, err error) error {
    				if err != nil {
    					if !test.wantErr {
    						t.Errorf("%s: %v", path, err)
    					}
    					sawErr = true
    					return nil
    				}
    				files = append(files, path)
    				return nil
    			})
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  5. 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