Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for errf (0.11 sec)

  1. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Checking abandoned parts should do nothing
    	err = er.checkAbandonedParts(ctx, bucket, object, madmin.HealOpts{ScanMode: madmin.HealNormalScan, Remove: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	_, err = er.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	lfi, err := meta.ToFileInfo(bucket, object, "", inclFreeVers, true)
    	if err != nil {
    		for i := range errs {
    			if errs[i] == nil {
    				errs[i] = err
    			}
    		}
    		return metaFileInfos, errs
    	}
    	if !lfi.IsValid() {
    		for i := range errs {
    			if errs[i] == nil {
    				errs[i] = errFileCorrupt
    			}
    		}
    		return metaFileInfos, errs
    	}
    
    	versionID := lfi.VersionID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    			if checksum != nil && checksum.Valid() {
    				if err = hashReader.AddChecksumNoTrailer(formValues, true); err != nil {
    					writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    					return
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	if err = checkGetObjArgs(ctx, bucket, object); err != nil {
    		return objInfo, err
    	}
    
    	// This is a special call attempted first to check for SOS-API calls.
    	objInfo, err = veeamSOSAPIHeadObject(ctx, bucket, object, opts)
    	if err == nil {
    		return objInfo, nil
    	}
    
    	// reset any error to 'nil', and object info to be empty.
    	err = nil
    	objInfo = ObjectInfo{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	req, err := newTestStreamingRequest(method, urlStr, contentLength, chunkSize, body)
    	if err != nil {
    		return nil, err
    	}
    
    	currTime := UTCNow()
    	signature, err := signStreamingRequest(req, accessKey, secretKey, currTime)
    	if err != nil {
    		return nil, err
    	}
    
    	req, err = assembleStreamingChunks(req, body, chunkSize, secretKey, signature, currTime)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    //			log.Fatal(err)
    //		}
    //	}
    //
    //	func makeZip(name string, r io.Reader) []byte {
    //		var buf bytes.Buffer
    //		w := zip.NewWriter(&buf)
    //		wf, err := w.Create(name)
    //		if err != nil {
    //			log.Fatal(err)
    //		}
    //		if _, err = io.Copy(wf, r); err != nil {
    //			log.Fatal(err)
    //		}
    //		if err := w.Close(); err != nil {
    //			log.Fatal(err)
    //		}
    //		return buf.Bytes()
    //	}
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		}
    
    		xlStorageNew, err := newLocalXLStorage(permDeniedDir)
    		if err != nil {
    			t.Fatalf("Unable to initialize xlStorage, %s", err)
    		}
    
    		// change backend permissions for MakeVol error.
    		if err = os.Chmod(permDeniedDir, 0o400); err != nil {
    			t.Fatalf("Unable to change permission to temporary directory %v. %v", permDeniedDir, err)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/data-usage-cache_gen.go

    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "TotalSize")
    							return
    						}
    					case "nv":
    						za0002.NumVersions, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, err = dc.ReadInt()
    						if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  9. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	err = minioClient.RemoveObject(ctx, bucket, "someobject", minio.RemoveObjectOptions{})
    	if err.Error() != "Access Denied." {
    		c.Fatalf("unexpected non-access-denied err: %v", err)
    	}
    
    	if _, err = s.adm.DetachPolicyLDAP(ctx, userReq); err != nil {
    		c.Fatalf("Unable to detach user policy: %v", err)
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top