Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for James (0.14 sec)

  1. tests/query_test.go

    		t.Fatalf("SQL should include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    	result = DB.Session(&gorm.Session{DryRun: true}).Model(&User{}).Find(&User{}, user.ID)
    
    	if regexp.MustCompile("SELECT .*name.* FROM .*users").MatchString(result.Statement.SQL.String()) {
    		t.Fatalf("SQL should not include selected names, but got %v", result.Statement.SQL.String())
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    func extendFQDN(host string) string {
    	if host[0] == '*' {
    		return host
    	}
    	if strings.HasSuffix(host, k8sSuffix) {
    		return host
    	}
    	return host + k8sSuffix
    }
    
    // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match).
    func getDestRuleSubsets(subsets []*v1alpha3.Subset, podsLabels []klabels.Set) ([]string, []string) {
    	matchingSubsets := make([]string, 0, len(subsets))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    		if _, gerr := globalIAMSys.GetGroupDescription(updReq.Group); gerr != nil {
    			// If group does not exist, then check if the group has beginning and end space characters
    			// we will reject such group names.
    			if errors.Is(gerr, errNoSuchGroup) && hasSpaceBE(updReq.Group) {
    				writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    				return
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    	entryNames := []string{`/`, `//`, `\`, `/test.txt`}
    	var names []string
    	for _, f := range r.File {
    		names = append(names, f.Name)
    		if _, err := f.Open(); err != nil {
    			t.Errorf("Error opening %q: %v", f.Name, err)
    		}
    		if _, err := r.Open(f.Name); err == nil {
    			t.Errorf("Opening %q with fs.FS API succeeded", f.Name)
    		}
    	}
    	if !reflect.DeepEqual(names, entryNames) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    
    			// No IPs seem to intersect, this means that bucket exists but has
    			// different IP addresses perhaps from a different deployment.
    			// bucket names are globally unique in federation at a given
    			// path prefix, name collision is not allowed. We simply log
    			// an error and continue.
    			bucketsInConflict.Add(bucket.Name)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    		volName    string
    		shouldPass bool
    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top