Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 396 for COMMENT (0.1 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/ScriptBlockBuilder.java

         */
        void comment(String comment);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 04 03:37:40 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/go/doc/comment/doc.go

    The details of the syntax are documented at https://go.dev/doc/comment.
    
    To parse the text associated with a doc comment (after removing comment markers),
    use a [Parser]:
    
    	var p comment.Parser
    	doc := p.Parse(text)
    
    The result is a [*Doc].
    To reformat it as a doc comment, HTML, Markdown, or plain text,
    use a [Printer]:
    
    	var pr comment.Printer
    	os.Stdout.Write(pr.Text(doc))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:05:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/go/printer/testdata/comments2.golden

    func issue5623() {
    L:
    	_ = yyyyyyyyyyyyyyyy			// comment - should be aligned
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	/* comment */
    
    	_ = yyyyyyyyyyyyyyyy			/* comment - should be aligned */
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	// comment
    
    LLLLLLL:
    	_ = yyyyyyyyyyyyyyyy			// comment - should be aligned
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	// comment
    
    LL:
    LLLLL:
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	/* comment */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testing.go

    // []Error lists in a map indexed by line number. The comment text is
    // the comment with any comment markers ("//", "/*", or "*/") stripped.
    // The position for each Error is the position of the token immediately
    // preceding the comment and the Error message is the comment text,
    // with all comments that are on the same line collected in a slice, in
    // source order. If there is no preceding token (the matching comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:53:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/go/doc/comment/testdata/README.md

    The remaining files contain the expected output for the named format generated by
    [comment.Printer](https://pkg.go.dev/go/doc/comment/#Printer):
    “gofmt” for Printer.Comment (Go comment format, as used by gofmt),
    “html” for Printer.HTML, “markdown” for Printer.Markdown, and “text” for Printer.Text.
    The format can also be “dump” for a textual dump of the raw data structures.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/encoding/csv/fuzz_test.go

    			{Comma: ',', Comment: '#'},
    			{Comma: ',', Comment: ';'},
    		} {
    			t.Logf("With options:")
    			t.Logf("  Comma            = %q", tt.Comma)
    			t.Logf("  LazyQuotes       = %t", tt.LazyQuotes)
    			t.Logf("  TrimLeadingSpace = %t", tt.TrimLeadingSpace)
    			t.Logf("  Comment          = %q", tt.Comment)
    			r := NewReader(bytes.NewReader(in))
    			r.Comma = tt.Comma
    			r.Comment = tt.Comment
    			r.LazyQuotes = tt.LazyQuotes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/util/PropertiesUtilsTest.groovy

        }
    
        def "empty properties with comment are written properly"() {
            expect:
            write([:], "Line comment") == normalize("""
                #Line comment
                """)
        }
    
        def "simple properties are written sorted alphabetically"() {
            expect:
            write([one: "1", two: "2", three: "three"], "Line comment") == normalize("""
                #Line comment
                one=1
                three=three
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt

             *
             * See [PropertiesUtils.store].
             */
            fun store(data: Map<String, Any>, file: File, comment: String? = null) {
                store(propertiesFrom(data), file, comment)
            }
    
            /**
             * Writes [Properties] to a file, but without including the timestamp comment.
             *
             * See [PropertiesUtils.store].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/go/ast/example_test.go

    // in a Go program while maintaining correct comment association
    // using an ast.CommentMap.
    func ExampleCommentMap() {
    	// src is the input for which we create the AST that we
    	// are going to manipulate.
    	src := `
    // This is the package comment.
    package main
    
    // This comment is associated with the hello constant.
    const hello = "Hello, World!" // line comment 1
    
    // This comment is associated with the foo variable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/go/ast/issues_test.go

    package p
    
    ... `, false},
    		// Special comment has rogue interior space.
    		{`//     Code generated by gen. DO NOT EDIT.
    package p
    `, false},
    		// Special comment lacks the middle portion.
    		{`// Code generated DO NOT EDIT.
    package p
    `, false},
    		// Special comment (incl. "//") appears within a /* block */ comment,
    		// an obscure corner case of the spec.
    		{`/* start of a general comment
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 13:57:33 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top