- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 946 for COMMENT (0.09 sec)
-
src/runtime/metrics/description_test.go
} samples = samples[1:] } } func wrap(prefix, text string, width int) string { doc := &comment.Doc{Content: []comment.Block{&comment.Paragraph{Text: []comment.Text{comment.Plain(text)}}}} pr := &comment.Printer{TextPrefix: prefix, TextWidth: width} return string(pr.Text(doc)) } func formatDesc(t *testing.T) string { var b strings.Builder
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/util/PropertiesUtils.java
* <ul> * <li>provided comment</li> * <li>line separator {@literal '\n'}</li> * <li>charset ISO-8859-1</li> * </ul> */ public static void store(Properties properties, File propertyFile, @Nullable String comment) throws IOException { store(properties, propertyFile, comment, Charsets.ISO_8859_1, "\n"); } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 14:17:21 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReaderTest.groovy
def "replaces line comments with space"() { when: input = """ Here is a // comment string // Line comment with interspersed // comment /* with inline comment */ and // other comment */ chars line comments. """ then: output == "\nHere is a \nstring\n\nwith interspersed \nline comments." } def "can cope with multiple unescaped and escaped \\r characters"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.2K bytes - Viewed (0) -
src/go/printer/testdata/doc.golden
package p /* Doc comment. - List1. - List2. */ var X int /* erroneous doc comment */ var Y int /* * Another erroneous * doc comment. */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:50 UTC 2022 - 160 bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Project.java
} public void setName(String name) { this.name = name; } /** * A comment used for the eclipse project */ public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } /** * The referenced projects of this Eclipse project. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 16.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/WritePropertiesIntegrationTest.groovy
when: runProps() then: file("output.properties").text == "" } def "empty properties with comment are written properly"() { given: buildFile << """ task props(type: WriteProperties) { comment = "Line comment" outputFile = file("output.properties") } """ when: runProps() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 19 13:03:22 UTC 2023 - 6K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/RepositoriesBuilder.java
import javax.annotation.Nullable; public interface RepositoriesBuilder { void mavenLocal(@Nullable String comment); void maven(@Nullable String comment, String url); void mavenCentral(@Nullable String comment); void gradlePluginPortal(@Nullable String comment);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 949 bytes - Viewed (0) -
src/go/ast/import.go
if g.left { c.Slash = pos[i].Start - 1 } else { // An import spec can have both block comment and a line comment // to its right. In that case, both of them will have the same pos. // But while formatting the AST, the line comment gets moved to // after the block comment. c.Slash = pos[i].End } } } } slices.SortFunc(comments, func(a, b *CommentGroup) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.7K bytes - Viewed (0) -
migrator/table_type.go
func (ct TableType) Name() string { return ct.NameValue } // Type returns the type of the table. func (ct TableType) Type() string { return ct.TypeValue } // Comment returns the comment of current table. func (ct TableType) Comment() (comment string, ok bool) { return ct.CommentValue.String, ct.CommentValue.Valid
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri May 05 07:58:27 UTC 2023 - 688 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
if fields[0] != "+build" { // Comment is something like +buildasdf not +build. return fmt.Errorf("possible malformed +build comment") } if pastCutoff { return fmt.Errorf("+build comment must appear before package clause and be followed by a blank line") } if err := checkArguments(fields); err != nil { return err } } else { // Comment with +build but not at beginning. if !pastCutoff {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0)