- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for stringmethods (1.05 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go
"slices.Replace": true, "sort.Reverse": true, } Analyzer.Flags.Var(&funcs, "funcs", "comma-separated list of functions whose results must be used") stringMethods.Set("Error,String") Analyzer.Flags.Var(&stringMethods, "stringmethods", "comma-separated list of names of methods of type func() string whose results must be used") } func run(pass *analysis.Pass) (interface{}, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
"compositewhitelist": "composites.whitelist", "printfuncs": "printf.funcs", "shadowstrict": "shadow.strict", "unusedfuncs": "unusedresult.funcs", "unusedstringmethods": "unusedresult.stringmethods", } // ---- output helpers common to all drivers ---- // PrintPlain prints a diagnostic in plain text form, // with context specified by the -c flag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java
package org.gradle.test; public class JavaClassWithMethods { public JavaClassWithMethods(String value) { } /** * A method that returns String. */ String stringMethod(String stringParam) { return "value"; } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 717 bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy
package org.gradle.test class GroovyClassWithMethods { GroovyClassWithMethods(String prop) { this.prop = prop } /** * A method that returns String. */ String stringMethod(String stringParam) { 'value' } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 952 bytes - Viewed (0)