Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 156 for Lbrace (0.12 sec)

  1. platforms/jvm/code-quality/src/test/groovy/org/gradle/api/plugins/quality/PmdPluginTest.groovy

            project.sourceSets {
                main
                test
                other
            }
    
            project.pmd {
                sourceSets = [project.sourceSets.main]
                ruleSets = ["java-braces", "java-unusedcode"]
                ruleSetConfig = project.resources.text.fromString("ruleset contents")
                ruleSetFiles = project.getLayout().files("my-ruleset.xml")
                reportsDir = project.file("pmd-reports")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 14:47:31 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/go/types/universe.go

    	_Assert: {"assert", 1, false, statement},
    	_Trace:  {"trace", 0, true, statement},
    }
    
    func defPredeclaredFuncs() {
    	for i := range predeclaredFuncs {
    		id := builtinId(i)
    		if id == _Assert || id == _Trace {
    			continue // only define these in testing environment
    		}
    		def(newBuiltin(id))
    	}
    }
    
    // DefPredeclaredTestFuncs defines the assert and trace built-ins.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top