Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Nelson (0.17 sec)

  1. tests/scan_test.go

    		if info.Person == nil {
    			t.Fatalf("Failed, expected not nil, got person nil")
    		}
    		if info.Address == nil {
    			t.Fatalf("Failed, expected not nil, got address nil")
    		}
    		if info.Person.ID == person1.ID {
    			personMatched = true
    			if info.Person.Name != person1.Name {
    				t.Errorf("Failed, expected %v, got %v", person1.Name, info.Person.Name)
    			}
    		}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  2. cni/pkg/repair/repair_test.go

    			InitContainerStatus: &corev1.ContainerStatus{
    				Name: constants.ValidationContainerName,
    				State: corev1.ContainerState{
    					Waiting: &corev1.ContainerStateWaiting{
    						Reason:  "CrashLoopBackOff",
    						Message: "Back-off 5m0s restarting failed blah blah blah",
    					},
    				},
    				LastTerminationState: corev1.ContainerState{
    					Terminated: &corev1.ContainerStateTerminated{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. cni/pkg/repair/repair_test_helpers.go

    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    				Message:  "Died for some reason",
    			},
    		},
    	}
    
    	brokenInitContainerTerminating = corev1.ContainerStatus{
    		Name: constants.ValidationContainerName,
    		State: corev1.ContainerState{
    			Terminated: &corev1.ContainerStateTerminated{
    				ExitCode: constants.ValidationErrorCode,
    				Reason:   "Error",
    				Message:  "Died for some reason",
    			},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. cmd/warm-backend-gcs.go

    		// have StatusCode to help to convert to object errors.
    		return err
    	}
    
    	if len(googleAPIErr.Errors) == 0 {
    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  6. tests/associations_test.go

    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func AssertAssociationCount(t *testing.T, data interface{}, name string, result int64, reason string) {
    	if count := DB.Model(data).Association(name).Count(); count != result {
    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    	if user, ok := data.(User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. prepare_stmt.go

    	cacheStmt := Stmt{Transaction: isTransaction, prepared: make(chan struct{})}
    	db.Stmts[query] = &cacheStmt
    	db.Mux.Unlock()
    
    	// prepare completed
    	defer close(cacheStmt.prepared)
    
    	// Reason why cannot lock conn.PrepareContext
    	// suppose the maxopen is 1, g1 is creating record and g2 is querying record.
    	// 1. g1 begin tx, g1 is requeue because of waiting for the system call, now `db.ConnPool` db.numOpen == 1.
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 28 08:47:39 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/bucket-metadata.go

    func loadBucketMetadataParse(ctx context.Context, objectAPI ObjectLayer, bucket string, parse bool) (BucketMetadata, error) {
    	b, err := readBucketMetadata(ctx, objectAPI, bucket)
    	b.Name = bucket // in-case parsing failed for some reason, make sure bucket name is not empty.
    	if err != nil && !errors.Is(err, errConfigNotFound) {
    		return b, err
    	}
    	if err == nil {
    		b.defaultTimestamps()
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. cmd/erasure.go

    			di, err := disk.DiskInfo(context.Background(), DiskInfoOptions{})
    			infos[i] = di
    			if err != nil {
    				// - Do not consume disks which are not reachable
    				//   unformatted or simply not accessible for some reason.
    				infos[i].Error = err.Error()
    			}
    		}()
    	}
    	wg.Wait()
    
    	var scanningDisks, healingDisks []StorageAPI
    	var scanningInfos, healingInfos []DiskInfo
    
    	for i, info := range infos {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. cmd/erasure-sets.go

    	var wg sync.WaitGroup
    	wg.Add(len(s.sets))
    	for _, s := range s.sets {
    		go func(s *erasureObjects) {
    			defer wg.Done()
    			// This is a force delete, no reason to throw errors.
    			s.DeleteObject(ctx, bucket, prefix, ObjectOptions{DeletePrefix: true})
    		}(s)
    	}
    	wg.Wait()
    	return nil
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
Back to top