Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 238 for unmatched (0.6 sec)

  1. pkg/kube/krt/krttest/helpers.go

    	return krt.NewStatic(slices.First(t))
    }
    
    func extractType[T any](items *[]any) []T {
    	var matched []T
    	var unmatched []any
    	arr := *items
    	for _, val := range arr {
    		if c, ok := val.(T); ok {
    			matched = append(matched, c)
    		} else {
    			unmatched = append(unmatched, val)
    		}
    	}
    
    	*items = unmatched
    	return matched
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AnyOrderOutputMatcher.groovy

                }
            }
    
            if (!(ignoreExtraLines || unmatchedLines.empty)) {
                def unmatched = unmatchedLines.join(NL)
                Assert.fail("Extra lines in output.${NL}${unmatched}${NL}---${NL}Actual output:${NL}$actual${NL}---")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            Set<String> unmatched = new LinkedHashSet<>();
            for (Problem problem : problems) {
                if (matcher.matches(problem.description)) {
                    problemsNotChecked.remove(problem);
                } else {
                    unmatched.add(problem.description);
                }
            }
            if (!unmatched.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/cmd/vet/vet_test.go

    	}
    	if s[len(prefix)] == ':' {
    		return true
    	}
    	return false
    }
    
    func partitionStrings(prefix string, strs []string) (matched, unmatched []string) {
    	for _, s := range strs {
    		if matchPrefix(s, prefix) {
    			matched = append(matched, s)
    		} else {
    			unmatched = append(unmatched, s)
    		}
    	}
    	return
    }
    
    type wantedError struct {
    	reStr   string
    	re      *regexp.Regexp
    	lineNum int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. pkg/config/security/security_test.go

    			values:    []string{"/{*}/foo/{temp"},
    			wantError: true,
    		},
    		{
    			name:      "unsupported path template - matchOneTemplate with unmatched closed curly brace",
    			values:    []string{"/{*}/foo/temp}/bar"},
    			wantError: true,
    		},
    		{
    			name:      "unsupported path template - matchOneTemplate with unmatched closed curly brace and `*`",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. pilot/pkg/xds/proxy_dependencies_test.go

    			true,
    		},
    		{"mixture matched and unmatched config for sidecar", sidecar, sets.New(
    			model.ConfigKey{Kind: kind.DestinationRule, Name: drName, Namespace: nsName},
    			model.ConfigKey{Kind: kind.ServiceEntry, Name: svcName + invalidNameSuffix, Namespace: nsName},
    		), true},
    		{"mixture unmatched and unmatched config for sidecar", sidecar, sets.New(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

                Assert.fail("Exception expected")
            } catch (ignored: IllegalStateException) {
                // Expected exception
            }
        }
    
        @Test
        fun `unmatched restore is an exception`() {
            val state = InputTrackingState()
            state.disableForCurrentThread()
            state.restoreForCurrentThread()
    
            try {
                state.restoreForCurrentThread()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    						delete(unmatched, expected)
    						matched = true
    						break
    					}
    				}
    				if !matched {
    					t.Errorf("expected error to contain one of %v, but got: %v", unmatched, err)
    				}
    			}
    			if len(unmatched) > 0 {
    				t.Errorf("expected errors %v", unmatched)
    			}
    		})
    	}
    }
    
    func genMatchSelectorSchema(rule string) *schema.Structural {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/accesslog_test.go

    						Name:       wellknown.FileAccessLog,
    						ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(defaultJSONLabelsOut)},
    					},
    				},
    			},
    		},
    		{
    			name: "log-selector-unmatched-telemetry",
    			push: env.PushContext(),
    			proxy: &model.Proxy{
    				ConfigNamespace: "default",
    				Labels:          map[string]string{"app": "test-with-server-accesslog-filter"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. security/pkg/pki/util/crypto_test.go

    			}
    		} else if err != nil {
    			t.Errorf(`%s: Unexpected error: "%s"`, id, err)
    		} else if keyType := reflect.TypeOf(key); keyType != c.keyType {
    			t.Errorf(`%s: Unmatched key type: expected "%v" but got "%v"`, id, c.keyType, keyType)
    		}
    	}
    }
    
    func TestGetRSAKeySize(t *testing.T) {
    	testCases := map[string]struct {
    		pem    string
    		size   int
    		errMsg string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top