Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Sel (0.03 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		if pol.Namespace == meshCfg.GetRootNamespace() && pol.Spec.Selector == nil {
    			return true
    		}
    		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)
    	}))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/positions.go

    		case *CompositeLit:
    			return n.Rbrace
    		case *KeyValueExpr:
    			m = n.Value
    		case *FuncLit:
    			m = n.Body
    		case *ParenExpr:
    			m = n.X
    		case *SelectorExpr:
    			m = n.Sel
    		case *IndexExpr:
    			m = n.Index
    		case *SliceExpr:
    			for i := len(n.Index) - 1; i >= 0; i-- {
    				if x := n.Index[i]; x != nil {
    					m = x
    					continue
    				}
    			}
    			m = n.X
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    func validateWasmPluginMatch(selectors []*extensions.WasmPlugin_TrafficSelector) error {
    	if len(selectors) == 0 {
    		return nil
    	}
    	for selIdx, sel := range selectors {
    		if sel == nil {
    			return fmt.Errorf("spec.Match[%d] is nil", selIdx)
    		}
    		for portIdx, port := range sel.Ports {
    			if port == nil {
    				return fmt.Errorf("spec.Match[%d].Ports[%d] is nil", selIdx, portIdx)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssagen/ssa.go

    func fieldIdx(n *ir.SelectorExpr) int {
    	t := n.X.Type()
    	if !t.IsStruct() {
    		panic("ODOT's LHS is not a struct")
    	}
    
    	for i, f := range t.Fields() {
    		if f.Sym == n.Sel {
    			if f.Offset != n.Offset() {
    				panic("field offset doesn't match")
    			}
    			return i
    		}
    	}
    	panic(fmt.Sprintf("can't find field in expr %v\n", n))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top