- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SubsetOf (0.13 sec)
-
src/cmd/compile/internal/types2/typeset.go
// hasTerms reports whether the type set has specific type terms. func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() } // subsetOf reports whether s1 ⊆ s2. func (s1 *_TypeSet) subsetOf(s2 *_TypeSet) bool { return s1.terms.subsetOf(s2.terms) } // TODO(gri) TypeSet.is and TypeSet.underIs should probably also go into termlist.go // is calls f with the specific type terms of s and reports whether
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.6K bytes - Viewed (0) -
src/go/types/typeset.go
// hasTerms reports whether the type set has specific type terms. func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() } // subsetOf reports whether s1 ⊆ s2. func (s1 *_TypeSet) subsetOf(s2 *_TypeSet) bool { return s1.terms.subsetOf(s2.terms) } // TODO(gri) TypeSet.is and TypeSet.underIs should probably also go into termlist.go // is calls f with the specific type terms of s and reports whether
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
// In this scenario it should be determined by exact lookup. if !hIsWildCarded && !importedHost.IsWildCarded() { continue } // Check if the hostnames match per usual hostname matching rules if h.SubsetOf(importedHost) { return true } } return false } // VSMatches checks if the hostClassification(sidecar egress hosts) matches the VirtualService's host
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/network.go
c.RLock() nodeSelector := c.nodeSelectorsForServices[svc.Hostname] c.RUnlock() // update external address var nodeAddresses []string for _, n := range c.nodeInfoMap { if nodeSelector.SubsetOf(n.labels) { nodeAddresses = append(nodeAddresses, n.address) } } if svc.Attributes.ClusterExternalAddresses == nil { svc.Attributes.ClusterExternalAddresses = &model.AddressMap{} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 22:23:22 UTC 2024 - 15.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
} if pol.Namespace != ns { return false } sel := pol.Spec.Selector if sel == nil { return true // No selector matches everything } return labels.Instance(sel.MatchLabels).SubsetOf(matchLabels) })) } func constructServicesFromWorkloadEntry(p *networkingv1alpha3.WorkloadEntry, services []model.ServiceInfo) map[string]*workloadapi.PortList { res := map[string]*workloadapi.PortList{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate.go
// of T types (i.e., the V type set must be a subset of the T type set). // Interfaces V with empty type sets were already excluded above. if Vi != nil { if !Vi.typeSet().subsetOf(Ti.typeSet()) { // TODO(gri) report which type is missing if cause != nil { *cause = check.sprintf("%s does not %s %s", V, verb, T) } return false } return checkComparability() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.7K bytes - Viewed (0) -
src/go/types/instantiate.go
// of T types (i.e., the V type set must be a subset of the T type set). // Interfaces V with empty type sets were already excluded above. if Vi != nil { if !Vi.typeSet().subsetOf(Ti.typeSet()) { // TODO(gri) report which type is missing if cause != nil { *cause = check.sprintf("%s does not %s %s", V, verb, T) } return false } return checkComparability() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.8K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
return fc.GetServerNames() == nil }, func(fc *listener.FilterChainMatch) bool { sni := host.Name(input.Sni) for _, s := range fc.GetServerNames() { if sni.SubsetOf(host.Name(s)) { return true } } return false }) chains = filter("TransportProtocol", chains, func(fc *listener.FilterChainMatch) bool { return fc.GetTransportProtocol() == ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0)