Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,989 for error_1 (0.11 sec)

  1. internal/s3select/sql/stringfuncs.go

    package sql
    
    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_test.go

    			}
    			merged := mergeXLV2Versions(i, false, 0, vMod...)
    			if len(merged) == 0 && i < 2 {
    				t.Error("Did not get any results")
    				return
    			}
    			if len(merged) > 0 && i >= 2 {
    				t.Error("Got unexpected results")
    				return
    			}
    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    					t.Errorf("Invalid result returned: %v", ver.header)
    				}
    			}
    		})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/warm-backend.go

    	PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error)
    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tests/scan_test.go

    	if err != nil {
    		t.Errorf("No error should happen, got %v", err)
    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    			t.Errorf("should get no error, but got %v", err)
    		}
    		results = append(results, result)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. cmd/erasure-healing-common.go

    //
    // - disks which have all parts specified in the latest xl.meta.
    //
    //   - slice of errors about the state of data files on disk - can have
    //     a not-found error or a hash-mismatch error.
    func disksWithAllParts(ctx context.Context, onlineDisks []StorageAPI, partsMetadata []FileInfo,
    	errs []error, latestMeta FileInfo, filterByETag bool, bucket, object string,
    	scanMode madmin.HealScanMode,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. internal/crypto/metadata_test.go

    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err == nil && test.ExpectedErr != nil {
    			t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    		}
    		if err != nil && test.ExpectedErr != nil {
    			if err.Error() != test.ExpectedErr.Error() {
    				t.Errorf("Test %d: got error '%v' - want error '%v'", i, err, test.ExpectedErr)
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. cmd/iam-etcd-store.go

    	return ies.saveIAMConfig(ctx, gi, getGroupInfoPath(name))
    }
    
    func (ies *IAMEtcdStore) deletePolicyDoc(ctx context.Context, name string) error {
    	err := ies.deleteIAMConfig(ctx, getPolicyDocPath(name))
    	if err == errConfigNotFound {
    		err = errNoSuchPolicy
    	}
    	return err
    }
    
    func (ies *IAMEtcdStore) deleteMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. cmd/metrics-v3-api.go

    		"Total number of requests with (4xx and 5xx) errors", "name", "type")
    	apiRequests5xxErrorsTotalMD = NewCounterMD(apiRequests5xxErrorsTotal,
    		"Total number of requests with 5xx errors", "name", "type")
    	apiRequests4xxErrorsTotalMD = NewCounterMD(apiRequests4xxErrorsTotal,
    		"Total number of requests with 4xx errors", "name", "type")
    	apiRequestsCanceledTotalMD = NewCounterMD(apiRequestsCanceledTotal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    		default:
    			return re, fmt.Errorf("replication mrf: unknown format: %d", binary.LittleEndian.Uint16(data[0:2]))
    		}
    		switch binary.LittleEndian.Uint16(data[2:4]) {
    		case mrfMetaVersion:
    		default:
    			return re, fmt.Errorf("replication mrf: unknown version: %d", binary.LittleEndian.Uint16(data[2:4]))
    		}
    
    		// OK, parse data.
    		// ignore any parsing errors, we do not care this file is generated again anyways.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. internal/kms/secret-key.go

    	key   []byte
    }
    
    // Version returns the version of the builtin KMS.
    func (secretKey) Version(ctx context.Context) (string, error) { return "v1", nil }
    
    // APIs returns an error since the builtin KMS does not provide a list of APIs.
    func (secretKey) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return nil, ErrNotSupported
    }
    
    // Status returns a set of endpoints and their KMS status. Since, the builtin KMS is not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top