Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for unmatched (0.39 sec)

  1. src/cmd/asm/internal/lex/input.go

    	if len(in.ifdefStack) == 0 {
    		in.Error("unmatched #else")
    	}
    	if len(in.ifdefStack) == 1 || in.ifdefStack[len(in.ifdefStack)-2] {
    		in.ifdefStack[len(in.ifdefStack)-1] = !in.ifdefStack[len(in.ifdefStack)-1]
    	}
    }
    
    // #endif processing.
    func (in *Input) endif() {
    	in.expectNewline("#endif")
    	if len(in.ifdefStack) == 0 {
    		in.Error("unmatched #endif")
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. internal/rest/client_test.go

    			want:   true,
    		},
    		{
    			name: "net.Error",
    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    			err:  errors.New("something"),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener.go

    	}
    	switch v := l.GetFilterChainMatcher().GetOnNoMatch().GetOnMatch().(type) {
    	case *matcher.Matcher_OnMatch_Action:
    		if v.Action.GetName() == fc.GetName() {
    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    		return ms
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, users, "Manager", 3, "After Append")
    
    	if err := DB.Model(&users).Association("Manager").Append(
    		GetUser("manager-slice-belongs-to-test-1", Config{}),
    	).Error; err == nil {
    		t.Errorf("unmatched length when update user's manager")
    	}
    
    	// Replace -> same as append
    
    	// Delete
    	if err := DB.Model(&users).Association("Company").Delete(&users[0].Company); err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. cmd/jwt_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		b.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	b.Run("uncached", func(b *testing.B) {
    		fn := authenticateNode
    		b.ResetTimer()
    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    			fn(creds.AccessKey, creds.SecretKey, "aud")
    		}
    	})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate_test.go

    						if matches && found != "" {
    							// There must be exactly one match, or we will double inject.
    							t.Fatalf("matched multiple webhooks. Had %v, matched %v", found, sn)
    						}
    						if matches {
    							found = sn
    							match = i
    						}
    					}
    					// If our predicate can tell us the expected match, use that
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	content := "One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag."
    	length := int64(len(content))
    	var opts ObjectOptions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject.go

    }
    
    func extractMatchedSelectorInfo(ls *metav1.LabelSelector, objLabels map[string]string) (matched bool, injLabel string) {
    	if ls == nil {
    		return true, ""
    	}
    	selector, err := metav1.LabelSelectorAsSelector(ls)
    	if err != nil {
    		return false, ""
    	}
    	matched = selector.Matches(labels.Set(objLabels))
    	if !matched {
    		return matched, ""
    	}
    	for _, me := range ls.MatchExpressions {
    		switch me.Operator {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig.go

    	logLevel string
    }
    
    type scopeStackTraceLevelPair ScopeLevelPair
    
    func newScopeLevelPair(slp, validationPattern string) (*ScopeLevelPair, error) {
    	matched, err := regexp.MatchString(validationPattern, slp)
    	if err != nil {
    		return nil, err
    	}
    	if !matched {
    		return nil, fmt.Errorf("pattern %s did not match", slp)
    	}
    	scopeLogLevel := strings.Split(slp, ":")
    	s := &ScopeLevelPair{
    		scope:    scopeLogLevel[0],
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  10. internal/bucket/versioning/versioning.go

    		return false
    	}
    
    	for _, sprefix := range v.ExcludedPrefixes {
    		// Note: all excluded prefix patterns end with `/` (See Validate)
    		sprefix.Prefix += "*"
    
    		if matched := wildcard.MatchSimple(sprefix.Prefix, prefix); matched {
    			return false
    		}
    	}
    	return true
    }
    
    // Suspended - returns true if versioning is suspended
    func (v Versioning) Suspended() bool {
    	return v.Status == Suspended
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
Back to top