Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseValues (0.1 sec)

  1. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    		op = selection.NotEquals
    	default:
    		return "", fmt.Errorf("found '%s', expected: %v", lit, strings.Join(binaryOperators, ", "))
    	}
    	return op, nil
    }
    
    // parseValues parses the values for set based matching (x,y,z)
    func (p *Parser) parseValues() (sets.String, error) {
    	tok, lit := p.consume(Values)
    	if tok != OpenParToken {
    		return nil, fmt.Errorf("found '%s' expected: '('", lit)
    	}
    	tok, lit = p.lookahead(Values)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/rulegen.go

    			args = append(args, a)
    		}
    	}
    	return
    }
    
    // parseValue parses a parenthesized value from a rule.
    // The value can be from the match or the result side.
    // It returns the op and unparsed strings for typ, auxint, and aux restrictions and for all args.
    // oparch is the architecture that op is located in, or "" for generic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  3. operator/pkg/manifest/shared.go

    	for _, kv := range setOverlay {
    		kvv := strings.Split(kv, "=")
    		if len(kvv) != 2 {
    			return "", fmt.Errorf("bad argument %s: expect format key=value", kv)
    		}
    		k := kvv[0]
    		v := util.ParseValue(kvv[1])
    		if err := tpath.WriteNode(tree, util.PathFromString(k), v); err != nil {
    			return "", err
    		}
    		// To make errors more user friendly, test the path and error out immediately if we cannot unmarshal.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top