Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 156 for Rbrace (0.11 sec)

  1. src/cmd/internal/obj/stringer.go

    			line = line[:index]
    		}
    		index = strings.Index(line, "/*")
    		if index > 0 {
    			line = line[:index]
    		}
    		// Termination condition: Any line with an = changes the sequence,
    		// so stop there, and stop at a closing brace.
    		if strings.HasPrefix(line, "}") || strings.ContainsRune(line, '=') {
    			break
    		}
    		sub := Are.FindStringSubmatch(line)
    		if len(sub) < 2 {
    			continue
    		}
    		if first {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/AbstractPmdPluginVersionIntegrationTest.groovy

        }
    
        static String bracesRuleSetPath() {
            if (versionNumber < VersionNumber.version(5)) {
                "rulesets/braces.xml"
            } else if (versionNumber < VersionNumber.version(6)) {
                "rulesets/java/braces.xml"
            } else if (versionNumber < VersionNumber.version(6, 13)) {
                "category/java/codestyle.xml/IfStmtsMustUseBraces"
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/go/printer/testdata/comments.input

    		i=0;// comment after semicolon
    		i<9;/* comment after semicolon */
    		i++{// comment after opening curly brace
    	}
    
    	// TODO(gri) the last comment in this example should be aligned */
    	for
    		i=0;// comment after semicolon
    		i<9/* comment before semicolon - ok to move after semicolon */;
    		i++ /* comment before opening curly brace */ {
    	}
    }
    
    // If there is no newline following punctuation, commas move before the punctuation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  4. common/config/.yamllint.yml

    # If you're looking at this file in a different repo and want to make a change, please go to the
    # common-files repo, make the change there and check it in. Then come back to this repo and run
    # "make update-common".
    
    rules:
      braces: disable
      brackets: disable
      colons: enable
      commas: disable
      comments: disable
      comments-indentation: disable
      document-end: disable
      document-start: disable
      empty-lines: disable
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 30 23:53:31 UTC 2020
    - 863 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_json_issue35169.txt

    ! go test -json .
    
    	# We should see only JSON output on stdout, no non-JSON.
    	# To simplify the check, we just look for non-curly-braces, since
    	# every JSON entry has them and they're unlikely to occur
    	# in other error messages.
    ! stdout '^[^{]'
    ! stdout '[^}]\n$'
    
    	# Since the only test we requested failed to build, we should
    	# not see any "pass" actions in the JSON stream.
    ! stdout '\{.*"Action":"pass".*\}'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:29:21 UTC 2023
    - 804 bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml

            <!--<exclude name='ExplicitCallToAndMethod'/>-->
            <!--<exclude name='ExplicitCallToOrMethod'/>-->
        <!--</ruleset-ref>-->
        <ruleset-ref path='rulesets/braces.xml'/>
        <ruleset-ref path='rulesets/imports.xml'>
            <exclude name="ImportFromSunPackages"/>
            <exclude name="MisorderedStaticImports"/>
            <exclude name="NoWildcardImports"/>
        </ruleset-ref>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. src/go/printer/example_test.go

    	// about the original source formatting and can add additional
    	// line breaks where they were present in the source.
    	var buf bytes.Buffer
    	printer.Fprint(&buf, fset, funcAST.Body)
    
    	// Remove braces {} enclosing the function body, unindent,
    	// and trim leading and trailing white space.
    	s := buf.String()
    	s = s[1 : len(s)-1]
    	s = strings.TrimSpace(strings.ReplaceAll(s, "\n\t", "\n"))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:55:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.xml

            <!--<exclude name='ExplicitCallToAndMethod'/>-->
            <!--<exclude name='ExplicitCallToOrMethod'/>-->
        <!--</ruleset-ref>-->
        <ruleset-ref path='rulesets/braces.xml'/>
        <ruleset-ref path='rulesets/imports.xml'>
            <exclude name="ImportFromSunPackages"/>
            <exclude name="MisorderedStaticImports"/>
            <exclude name="NoWildcardImports"/>
        </ruleset-ref>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner_test.go

    	{_Assign, "=", 0, 0},
    	{_Define, ":=", 0, 0},
    	{_Arrow, "<-", 0, 0},
    
    	// delimiters
    	{_Lparen, "(", 0, 0},
    	{_Lbrack, "[", 0, 0},
    	{_Lbrace, "{", 0, 0},
    	{_Rparen, ")", 0, 0},
    	{_Rbrack, "]", 0, 0},
    	{_Rbrace, "}", 0, 0},
    	{_Comma, ",", 0, 0},
    	{_Semi, ";", 0, 0},
    	{_Colon, ":", 0, 0},
    	{_Dot, ".", 0, 0},
    	{_DotDotDot, "...", 0, 0},
    
    	// keywords
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  10. src/go/types/generate_test.go

    	"slice.go":         nil,
    	"subst.go":         func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    	"termlist.go":      nil,
    	"termlist_test.go": nil,
    	"tuple.go":         nil,
    	"typelists.go":     nil,
    	"typeset.go":       func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    	"typeparam.go":     nil,
    	"typeterm_test.go": nil,
    	"typeterm.go":      nil,
    	"typestring.go":    nil,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top