Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,457 for parens (0.14 sec)

  1. src/cmd/vendor/rsc.io/markdown/link.go

    		case '?', '!', '.', ',', ':', '@', '_', '~':
    			// Trim certain trailing punctuation.
    			i--
    			continue Trim
    
    		case ')':
    			// Trim trailing unmatched (by count only) parens.
    			if paren < 0 {
    				for s[i-1] == ')' && paren < 0 {
    					paren++
    					i--
    				}
    				continue Trim
    			}
    
    		case ';':
    			// Trim entity reference.
    			// After doing the work of the scan, we either cut that part off the string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/go/doc/example.go

    			if isTest(name, "Test") || isTest(name, "Benchmark") || isTest(name, "Fuzz") {
    				hasTests = true
    				continue
    			}
    			if !isTest(name, "Example") {
    				continue
    			}
    			if params := f.Type.Params; len(params.List) != 0 {
    				continue // function has params; not a valid example
    			}
    			if f.Body == nil { // ast.File.Body nil dereference (see issue 28044)
    				continue
    			}
    			var doc string
    			if f.Doc != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_2x.md

        depends on JUnit, though it continues to work with all testing frameworks.
     *  Fix: `FormEncodingBuilder` is now consistent with browsers in which
        characters it escapes. Previously we weren’t percent-encoding commas,
        parens, and other characters.
     *  Fix: Relax `FormEncodingBuilder` to support building empty forms.
     *  Fix: Timeouts throw `SocketTimeoutException`, not `InterruptedIOException`.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  4. src/go/types/resolver.go

    						}
    						if t := d.decl.Type; t.Params.NumFields() != 0 || t.Results != nil {
    							// TODO(rFindley) Should this be a hard error?
    							check.softErrorf(d.decl.Name, code, "func %s must have no arguments and no return values", name)
    						}
    					}
    					if name == "init" {
    						// don't declare init functions in the package scope - they are invisible
    						obj.parent = pkg.scope
    						check.recordDef(d.decl.Name, obj)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. src/go/printer/nodes.go

    		// types require parentheses around the type.
    		paren := false
    		switch t := x.Fun.(type) {
    		case *ast.FuncType:
    			paren = true
    		case *ast.ChanType:
    			paren = t.Dir == ast.RECV
    		}
    		if paren {
    			p.print(token.LPAREN)
    		}
    		wasIndented := p.possibleSelectorExpr(x.Fun, token.HighestPrec, depth)
    		if paren {
    			p.print(token.RPAREN)
    		}
    
    		p.setPos(x.Lparen)
    		p.print(token.LPAREN)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. cluster/addons/calico-policy-controller/networkpolicies-crd.yaml

                      \"c\" \thas(label_name)  -> True if that label is present \t! expr
                      -> negation of expr \texpr && expr  -> Short-circuit and \texpr
                      || expr  -> Short-circuit or \t( expr ) -> parens for grouping \tall()
                      or the empty selector -> matches all endpoints. \n Label names are
                      allowed to contain alphanumerics, -, _ and /. String literals are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 44.2K bytes
    - Viewed (0)
  7. src/time/format_test.go

    			}
    			s = suffix
    		}
    		return out
    	}
    
    	noParens := func(r rune) rune {
    		if r == '(' || r == ')' {
    			return -1
    		}
    		return r
    	}
    
    	for _, marked := range nextStdChunkTests {
    		// marked is an expected output from markChunks.
    		// If we delete the parens and pass it through markChunks,
    		// we should get the original back.
    		format := strings.Map(noParens, marked)
    		out := markChunks(format)
    		if out != marked {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. cluster/addons/calico-policy-controller/globalnetworkpolicy-crd.yaml

                      \"c\" \thas(label_name)  -> True if that label is present \t! expr
                      -> negation of expr \texpr && expr  -> Short-circuit and \texpr
                      || expr  -> Short-circuit or \t( expr ) -> parens for grouping \tall()
                      or the empty selector -> matches all endpoints. \n Label names are
                      allowed to contain alphanumerics, -, _ and /. String literals are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 45.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/typecheck.go

    		}
    	}
    	return true
    }
    
    func hasddd(params []*types.Field) bool {
    	// TODO(mdempsky): Simply check the last param.
    	for _, tl := range params {
    		if tl.IsDDD() {
    			return true
    		}
    	}
    
    	return false
    }
    
    // typecheck assignment: type list = expression list
    func typecheckaste(op ir.Op, call ir.Node, isddd bool, params []*types.Field, nl ir.Nodes, desc func() string) {
    	var t *types.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/go/doc/comment/parse.go

    		}
    		i++
    	}
    	i = end
    
    	// At this point we are definitely returning a URL (scheme://host).
    	// We just have to find the longest path we can add to it.
    	// Heuristics abound.
    	// We allow parens, braces, and brackets,
    	// but only if they match (#5043, #22285).
    	// We allow .,:;?! in the path but not at the end,
    	// to avoid end-of-sentence punctuation (#18139, #16565).
    	stk := []byte{}
    	end = i
    Path:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
Back to top