Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 253 for errf (0.05 sec)

  1. internal/s3select/sql/funceval.go

    	q, err := d.Quantity.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	inferTypeForArithOp(q)
    	qty, ok := q.ToFloat()
    	if !ok {
    		return nil, fmt.Errorf("QUANTITY must be a numeric argument to %s()", sqlFnDateAdd)
    	}
    
    	ts, err := d.Timestamp.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	if err = inferTypeAsTimestamp(ts); err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  2. cmd/format-erasure.go

    // countErrs - count a specific error.
    func countErrs(errs []error, err error) int {
    	i := 0
    	for _, err1 := range errs {
    		if err1 == err || errors.Is(err1, err) {
    			i++
    		}
    	}
    	return i
    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    	}
    
    	var rhs Value
    	var err error
    	var eltVal *Value
    	switch {
    	case e.JPathExpr != nil:
    		eltVal, err = e.JPathExpr.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    	case e.ListExpr != nil:
    		eltVal, err = e.ListExpr.evalNode(r, tableAlias)
    		if err != nil {
    			return nil, err
    		}
    	default:
    		return nil, errInvalidASTNode
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. 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)
  5. cmd/object-api-utils.go

    		off, length, skipLen, seqNumber, partStart, err = oi.GetDecryptedRange(rs)
    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decSize int64
    		decSize, err = oi.DecryptedSize()
    		if err != nil {
    			return nil, 0, 0, err
    		}
    		var decRangeLength int64
    		decRangeLength, err = rs.GetLength(decSize)
    		if err != nil {
    			return nil, 0, 0, err
    		}
    
    		// We define a closure that performs decryption given
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    			if err != nil {
    				t.Fatalf("Failed to getLatestFileInfo %v", err)
    			}
    
    			for j := range partsMetadata {
    				if errs[j] != nil {
    					t.Fatalf("expected error to be nil: %s", errs[j])
    				}
    				partsMetadata[j].ModTime = test.modTimes[j]
    			}
    
    			tamperedIndex := -1
    			switch test._tamperBackend {
    			case deletePart:
    				for index, err := range test.errs {
    					if err != nil {
    						continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. src/archive/tar/reader.go

    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    		if _, err := tryReadFull(tr.r, tr.blk[:tr.pad]); err != nil {
    			return nil, err
    		}
    		tr.pad = 0
    
    		hdr, rawHdr, err := tr.readHeader()
    		if err != nil {
    			return nil, err
    		}
    		if err := tr.handleRegularFile(hdr); err != nil {
    			return nil, err
    		}
    		format.mayOnlyBe(hdr.Format)
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		}
    	case config.HealSubSys:
    		if _, err := heal.LookupConfig(s[config.HealSubSys][config.Default]); err != nil {
    			return err
    		}
    	case config.ScannerSubSys:
    		if _, err := scanner.LookupConfig(s[config.ScannerSubSys][config.Default]); err != nil {
    			return err
    		}
    	case config.EtcdSubSys:
    		etcdCfg, err := etcd.LookupConfig(s[config.EtcdSubSys][config.Default], globalRootCAs)
    		if err != nil {
    			return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. cmd/erasure-healing.go

    			errs, bucket, object, versionID), err
    	}
    
    	readQuorum, _, err := objectQuorumFromMeta(ctx, partsMetadata, errs, er.defaultParityCount)
    	if err != nil {
    		m, derr := er.deleteIfDangling(ctx, bucket, object, partsMetadata, errs, nil, ObjectOptions{
    			VersionID: versionID,
    		})
    		errs = make([]error, len(errs))
    		if derr == nil {
    			derr = errFileNotFound
    			if versionID != "" {
    				derr = errFileVersionNotFound
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  10. 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)
Back to top