Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,457 for parens (0.17 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

            assertDynamicInterpretationOf(
                """.""",
                "Expecting token of type RBRACE, but got DOT instead"
            )
        }
    
        @Test
        fun `syntax error - id() without parens`() {
            assertDynamicInterpretationOf(
                """id "plugin-id"""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('id') instead"
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    	}
    	newImport.Path.ValuePos = pos
    	newImport.EndPos = pos
    
    	// Clean up parens. impDecl contains at least one spec.
    	if len(impDecl.Specs) == 1 {
    		// Remove unneeded parens.
    		impDecl.Lparen = token.NoPos
    	} else if !impDecl.Lparen.IsValid() {
    		// impDecl needs parens added.
    		impDecl.Lparen = impDecl.Specs[0].Pos()
    	}
    
    	f.Imports = append(f.Imports, newImport)
    
    	if len(f.Decls) <= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  3. src/html/template/content_test.go

    				`Hello%2c%20%3cb%3eWorld%3c%2fb%3e%20%26amp%3btc%21`,
    				`%20dir%3d%22ltr%22`,
    				`c%20%26%26%20alert%28%22Hello%2c%20World%21%22%29%3b`,
    				`Hello%2c%20World%20%26%20O%27Reilly%5cu0021`,
    				// Quotes and parens are escaped but %69 is not over-escaped. HTML escaping is done.
    				`greeting=H%69,&amp;addressee=%28World%29`,
    				`greeting%3dH%2569%2c%26addressee%3d%28World%29%202x%2c%20https%3a%2f%2fgolang.org%2ffavicon.ico%20500.5w`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  4. src/runtime/traceback_system_test.go

    		//   SYMBOL(ARGS)
    		//   \tFILE:LINE +0xRELPC sp=0x%x fp=0x%x pc=0x%x
    		// Note: SYMBOL may contain parens "pkg.(*T).method"
    		// The RELPC is sometimes missing.
    
    		// Skip the symbol(args) line.
    		i++
    		if i == len(lines) {
    			break
    		}
    		line = lines[i]
    
    		// Parse the PC, and correct for the parent and child's
    		// different mappings of the text section.
    		pc, err := getPC(line)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    // Child runs the part of the crashmonitor that runs in the child process.
    // It expects its stdin to be connected via a pipe to the parent which has
    // run Parent.
    func Child() {
    	// Wait for parent process's dying gasp.
    	// If the parent dies for any reason this read will return.
    	data, err := io.ReadAll(os.Stdin)
    	if err != nil {
    		log.Fatalf("failed to read from input pipe: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/html/template/url.go

    	// EcmaScript builtin encodeURIComponent.
    	// It should not cause any misencoding of URLs in pages with
    	// Content-type: text/html;charset=UTF-8.
    	for i, n := 0, len(s); i < n; i++ {
    		c := s[i]
    		switch c {
    		// Single quote and parens are sub-delims in RFC 3986, but we
    		// escape them so the output can be embedded in single
    		// quoted attributes and unquoted CSS url(...) constructs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    	// Parenthesized expressions
    	{"parens in pipeline", "{{printf `%d %d %d` (1) (2 | add 3) (add 4 (add 5 6))}}", "1 5 15", tVal, true},
    
    	// Parenthesized expressions with field accesses
    	{"parens: $ in paren", "{{($).X}}", "x", tVal, true},
    	{"parens: $.GetU in paren", "{{($.GetU).V}}", "v", tVal, true},
    	{"parens: $ in paren in pipe", "{{($ | echo).X}}", "x", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    		if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
    			pass.ReportRangef(expr, "%s passes lock by value: %v", name, path)
    		}
    	}
    
    	if typ.Params != nil {
    		for _, field := range typ.Params.List {
    			expr := field.Type
    			if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil {
    				pass.ReportRangef(expr, "%s passes lock by value: %v", name, path)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    	// Parenthesized expressions
    	{"parens in pipeline", "{{printf `%d %d %d` (1) (2 | add 3) (add 4 (add 5 6))}}", "1 5 15", tVal, true},
    
    	// Parenthesized expressions with field accesses
    	{"parens: $ in paren", "{{($).X}}", "x", tVal, true},
    	{"parens: $.GetU in paren", "{{($.GetU).V}}", "v", tVal, true},
    	{"parens: $ in paren in pipe", "{{($ | echo).X}}", "x", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. src/text/template/parse/lex_test.go

    		tLeft,
    		mkItem(itemError, `bad number syntax: "3k"`),
    	}},
    	{"unclosed paren", "{{(3}}", []item{
    		tLeft,
    		tLpar,
    		mkItem(itemNumber, "3"),
    		mkItem(itemError, `unclosed left paren`),
    	}},
    	{"extra right paren", "{{3)}}", []item{
    		tLeft,
    		mkItem(itemNumber, "3"),
    		mkItem(itemError, "unexpected right paren"),
    	}},
    
    	// Fixed bugs
    	// Many elements in an action blew the lookahead until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 15:03:43 UTC 2022
    - 13.9K bytes
    - Viewed (0)
Back to top