Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 101 for Parenthesized (0.2 sec)

  1. src/fmt/scan.go

    		// digits?
    		for s.accept(decimalDigits + "_") {
    		}
    	}
    	return string(s.buf)
    }
    
    // complexTokens returns the real and imaginary parts of the complex number starting here.
    // The number might be parenthesized and has the format (N+Ni) where N is a floating-point
    // number and there are no spaces within.
    func (s *ss) complexTokens() (real, imag string) {
    	// TODO: accept N and Ni independently?
    	parens := s.accept("(")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    	case *parse.ChainNode:
    		return s.evalChainNode(dot, n, cmd.Args, final)
    	case *parse.IdentifierNode:
    		// Must be a function.
    		return s.evalFunction(dot, n, cmd, cmd.Args, final)
    	case *parse.PipeNode:
    		// Parenthesized pipeline. The arguments are all inside the pipeline; final must be absent.
    		s.notAFunction(cmd.Args, final)
    		return s.evalPipeline(dot, n)
    	case *parse.VariableNode:
    		return s.evalVariableNode(dot, n, cmd.Args, final)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	"az": {"alignof ", 1, precUnary},
    	"cc": {"const_cast", 2, precPostfix},
    	"cl": {"()", 2, precPostfix},
    	// cp is not in the ABI but is used by clang "when the call
    	// would use ADL except for being parenthesized."
    	"cp": {"()", 2, precPostfix},
    	"cm": {",", 2, precComma},
    	"co": {"~", 1, precUnary},
    	"dV": {"/=", 2, precAssign},
    	"dX": {"[...]=", 3, precAssign},
    	"da": {"delete[] ", 1, precUnary},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. src/go/printer/testdata/parser.go

    	if p.trace {
    		defer un(trace(p, "VarList"))
    	}
    
    	// a list of identifiers looks like a list of type names
    	for {
    		// parseVarType accepts any type (including parenthesized ones)
    		// even though the syntax does not permit them here: we
    		// accept them all for more robust parsing and complain
    		// afterwards
    		list = append(list, p.parseVarType(isParam))
    		if p.tok != token.COMMA {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  5. test/fixedbugs/bug300.go

    	// illegal composite literals: parentheses not allowed around literal type
    	_ = (struct{}){}    // ERROR "parenthesize"
    	_ = ([42]int){}     // ERROR "parenthesize"
    	_ = ([...]int){}    // ERROR "parenthesize"
    	_ = ([]int){}       // ERROR "parenthesize"
    	_ = (map[int]int){} // ERROR "parenthesize"
    	_ = (T){}           // ERROR "parenthesize"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 697 bytes
    - Viewed (0)
  6. test/fixedbugs/bug299.go

    	// legal according to spec
    	x int
    	y (int)
    	int
    	*float64
    	// not legal according to spec
    	(complex128)  // ERROR "non-declaration|expected|parenthesize"
    	(*string)  // ERROR "non-declaration|expected|parenthesize"
    	*(bool)    // ERROR "non-declaration|expected|parenthesize"
    }
    
    // legal according to spec
    func (p T) m() {}
    
    // now legal according to spec
    func (p (T)) f() {}
    func (p *(T)) g() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 666 bytes
    - Viewed (0)
  7. pkg/proxy/iptables/proxier_test.go

    		logger.Error(err, "metrics are not registered?")
    		return -1
    	}
    	return int(numRulesFloat)
    }
    
    // findAllMatches takes an array of lines and a pattern with one parenthesized group, and
    // returns a sorted array of all of the unique matches of the parenthesized group.
    func findAllMatches(lines []string, pattern string) []string {
    	regex := regexp.MustCompile(pattern)
    	allMatches := sets.New[string]()
    	for _, line := range lines {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

    ) : KaSmartCastProvider(), KaFirSessionComponent {
    
        private val KtExpression.isExplicitSmartCastInfoTarget: Boolean
            get() {
                // we want to handle only most top-level parenthesised expressions
                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    // package or module. Subsequent lines give a path through the import
    // graph, one package per line. If the package or module is not
    // referenced from the main module, the stanza will display a single
    // parenthesized note indicating that fact.
    //
    // For example:
    //
    //	$ go mod why golang.org/x/text/language golang.org/x/text/encoding
    //	# golang.org/x/text/language
    //	rsc.io/quote
    //	rsc.io/sampler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		c.To.goString(indent+2, "To: "))
    }
    
    func (c *Cast) prec() precedence {
    	return precCast
    }
    
    // The parenthesize function prints the string for val, wrapped in
    // parentheses if necessary.
    func parenthesize(ps *printState, val AST) {
    	paren := false
    	switch v := val.(type) {
    	case *Name, *InitializerList:
    	case *FunctionParam:
    		if ps.llvmStyle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top