- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,161 for match0 (0.17 sec)
-
src/go/constant/value.go
} return x, y } // match0 must only be called by match. // Invariant: ord(x) < ord(y) func match0(x, y Value) (_, _ Value) { // Prefer to return the original x and y arguments when possible, // to avoid unnecessary heap allocations. switch y.(type) { case intVal: switch x1 := x.(type) { case int64Val: return i64toi(x1), y } case ratVal: switch x1 := x.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/match.go
// NewInheritanceMatcher returns a matcher that matches based on the inheritance // chain. // // The matcher uses canonicalization and the parent relationship to find a // match. The resulting match will always be either Und or a language with the // same language and script as the requested language. It will not match // languages for which there is understood to be mutual or one-directional
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
func MatchStrings(m Matcher, lang ...string) (tag Tag, index int) { for _, accept := range lang { desired, _, err := ParseAcceptLanguage(accept) if err != nil { continue } if tag, index, conf := m.Match(desired...); conf != No { return tag, index } } tag, index, _ = m.Match() return } // Matcher is the interface that wraps the Match method. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
src/testing/match.go
elem := strings.Split(name, "/") // filter must match. // accept partial match that may produce full match later. ok, partial = m.filter.matches(elem, m.matchFunc) if !ok { return name, false, false } // skip must not match. // ignore partial match so we can get to more precise match later. skip, partialSkip := m.skip.matches(elem, m.matchFunc) if skip && !partialSkip {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matcher.go
// limitations under the License. package match import ( "errors" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/framework/components/echo" ) // Matcher is used to filter matching instances type Matcher func(echo.Instance) bool // GetMatches returns the subset of echo.Instances that match this Matcher. func (m Matcher) GetMatches(i echo.Instances) echo.Instances {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 20:45:12 UTC 2023 - 2.1K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
} ) type Mapper struct { *matcher.Matcher Map map[string]*matcher.Matcher_OnMatch } func newMapper(input *xds.TypedExtensionConfig) Mapper { m := map[string]*matcher.Matcher_OnMatch{} match := &matcher.Matcher{ MatcherType: &matcher.Matcher_MatcherTree_{ MatcherTree: &matcher.Matcher_MatcherTree{ Input: input, TreeType: &matcher.Matcher_MatcherTree_ExactMatchMap{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go
type MatchCondition v1.MatchCondition func (v *MatchCondition) GetExpression() string { return v.Expression } func (v *MatchCondition) ReturnTypes() []*cel.Type { return []*cel.Type{cel.BoolType} } var _ Matcher = &matcher{} // matcher evaluates compiled cel expressions and determines if they match the given request or not type matcher struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
private static final class IsEither extends FastMatcher { private final char match1; private final char match2; IsEither(char match1, char match2) { this.match1 = match1; this.match2 = match2; } @Override public boolean matches(char c) { return c == match1 || c == match2; } @GwtIncompatible // used only from other GwtIncompatible code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.7K bytes - Viewed (0) -
pkg/test/framework/resource/matcher.go
"regexp" "strconv" "strings" ) // testFilter is a regex matcher on a test. It is split by / following go subtest format type testFilter []*regexp.Regexp type Matcher struct { filters []testFilter } // NewMatcher reimplements the logic of Go's -test.run. The code is mostly directly copied from Go's source. func NewMatcher(regexs []string) (*Matcher, error) { filters := []testFilter{} for _, regex := range regexs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object/matcher.go
return false } return selector.Matches(labels.Set(accessor.GetLabels())) } // MatchObjectSelector decideds whether the request matches the ObjectSelector // of the webhook. Only when they match, the webhook is called. func (m *Matcher) MatchObjectSelector(p ObjectSelectorProvider, attr admission.Attributes) (bool, *apierrors.StatusError) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 00:41:14 UTC 2022 - 1.8K bytes - Viewed (0)