Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for errf (0.02 sec)

  1. cmd/xl-storage-disk-id-check.go

    	// Merely for tracing storage
    	path := ""
    	if len(versions) > 0 {
    		path = versions[0].Name
    	}
    	errs = make([]error, len(versions))
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricDeleteVersions, volume, path)
    	if err != nil {
    		for i := range errs {
    			errs[i] = ctx.Err()
    		}
    		return errs
    	}
    	defer func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K 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/storage-rest-client.go

    	respBody, err := client.call(ctx, storageRESTMethodDeleteVersions, values, &buffer, -1)
    	defer xhttp.DrainBody(respBody)
    	if err != nil {
    		if contextCanceled(ctx) {
    			err = ctx.Err()
    		}
    		for i := range errs {
    			errs[i] = err
    		}
    		return errs
    	}
    
    	reader, err := waitForHTTPResponse(respBody)
    	if err != nil {
    		for i := range errs {
    			errs[i] = toStorageErr(err)
    		}
    		return errs
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common.go

    			onlineDisks[index] = nil
    		}
    	}
    
    	return onlineDisks, modTime, ""
    }
    
    // Convert verify or check parts returned error to integer representation
    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. cmd/global-heal.go

    		if !isMinioMetaBucketName(bucket) {
    			vc, err = globalBucketVersioningSys.Get(bucket)
    			if err != nil {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    			// Check if the current bucket has a configured lifecycle policy
    			lc, err = globalLifecycleSys.Get(bucket)
    			if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) {
    				retErr = err
    				healingLogIf(ctx, err)
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. gorm.go

    				return nil, applyErr
    			}
    			defer func(opt Option) {
    				if errr := opt.AfterInitialize(db); errr != nil {
    					err = errr
    				}
    			}(opt)
    		}
    	}
    
    	if d, ok := dialector.(interface{ Apply(*Config) error }); ok {
    		if err = d.Apply(config); err != nil {
    			return
    		}
    	}
    
    	if config.NamingStrategy == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    		// Did not found anything useful
    		return -1
    	}
    	return cparity
    }
    
    func listObjectParities(partsMetadata []FileInfo, errs []error) (parities []int) {
    	totalShards := len(partsMetadata)
    	parities = make([]int, len(partsMetadata))
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			parities[index] = -1
    			continue
    		}
    		if !metadata.IsValid() {
    			parities[index] = -1
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params.md

    O mesmo erro apareceria se você tivesse fornecido um `float` ao invés de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | "Verifique"
    
    
    
    ///
    
    	Então, com a mesma declaração de tipo do Python, o **FastAPI** dá pra você validação de dados.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    	}
    
    	// Get last healing information
    	buf, err := readConfig(ctx, objAPI, backgroundHealInfoPath)
    	if err != nil {
    		if !errors.Is(err, errConfigNotFound) {
    			internalLogOnceIf(ctx, err, backgroundHealInfoPath)
    		}
    		return backgroundHealInfo{}
    	}
    	var info backgroundHealInfo
    	if err = json.Unmarshal(buf, &info); err != nil {
    		bugLogIf(ctx, err, backgroundHealInfoPath)
    	}
    	return info
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. docs/pt/docs/how-to/conditional-openapi.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Então, se você acessar as URLs em `/openapi.json`, `/docs` ou `/redoc`, você receberá apenas um erro `404 Não Encontrado` como:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top