Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,902 for error_1 (0.07 sec)

  1. internal/config/dns/store.go

    package dns
    
    // Error - DNS related errors error.
    type Error struct {
    	Bucket string
    	Err    error
    }
    
    // ErrInvalidBucketName for buckets with invalid name
    type ErrInvalidBucketName Error
    
    func (e ErrInvalidBucketName) Error() string {
    	return e.Bucket + " invalid bucket name error: " + e.Err.Error()
    }
    
    func (e Error) Error() string {
    	return "dns related error: " + e.Err.Error()
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tests/table_test.go

    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("user as u").Select("name").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT .name. FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/archive/zip/reader.go

    	offset int
    }
    
    func (d *openDir) Close() error               { return nil }
    func (d *openDir) Stat() (fs.FileInfo, error) { return d.e.stat() }
    
    func (d *openDir) Read([]byte) (int, error) {
    	return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
    }
    
    func (d *openDir) ReadDir(count int) ([]fs.DirEntry, error) {
    	n := len(d.files) - d.offset
    	if count > 0 && n > count {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. internal/grid/msg.go

    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    		if len(h) < hashLen {
    			return nil, nil, fmt.Errorf("want crc len 4, got %v", len(h))
    		}
    		got := uint32(xxh3.Hash(b[:len(b)-hashLen]))
    		want := binary.LittleEndian.Uint32(h[len(h)-hashLen:])
    		if got != want {
    			return nil, nil, fmt.Errorf("crc mismatch: 0x%08x (given) != 0x%08x (bytes)", want, got)
    		}
    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. internal/lock/lock.go

    // Package lock - implements filesystem locking wrappers around an
    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    var ErrAlreadyLocked = errors.New("file already locked")
    
    // RLockedFile represents a read locked file, implements a special
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    	err = db.Table("objects").Create(&Object1{}).Error
    	if err != nil {
    		t.Errorf("create err:%v", err)
    	}
    
    	// AddColumn
    	err = db.Table("objects").AutoMigrate(&Object2{})
    	if err != nil {
    		t.Errorf("AutoMigrate err:%v", err)
    	}
    
    	err = db.Table("objects").Take(&Object2{}).Error
    	if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    				t.Errorf("Case: %d %#v, expected: %s, got :%s", i+1, testCase, testCase.expectedErr, err)
    			}
    			// Expected error returned, proceed further to validate the returned results.
    			if err != nil && testCase.expectedErr == nil {
    				t.Errorf("Case: %d %#v, expected: %s, got :%s", i+1, testCase, testCase.expectedErr, err)
    			}
    			if err == nil {
    				if !bytes.Equal(testCase.expectedBuf, buf) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

            return success(model, problemsList);
        }
    
        /**
         * Error with problems describing the cause
         *
         * @param problems
         */
        public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) {
            return error(null, problems);
        }
    
        public static <T> Result<T> error(T model) {
            return error(model, Collections.emptyList());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top