Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 939 for COMMENT (0.11 sec)

  1. src/go/doc/comment/parse.go

    // license that can be found in the LICENSE file.
    
    package comment
    
    import (
    	"slices"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // A Doc is a parsed Go doc comment.
    type Doc struct {
    	// Content is the sequence of content blocks in the comment.
    	Content []Block
    
    	// Links is the link definitions in the comment.
    	Links []*LinkDef
    }
    
    // A LinkDef is a single link definition.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  2. src/go/types/eval_test.go

    		t.Fatal(err)
    	}
    
    	for _, file := range files {
    		for _, group := range file.Comments {
    			for _, comment := range group.List {
    				s := comment.Text
    				if len(s) >= 4 && s[:2] == "/*" && s[len(s)-2:] == "*/" {
    					str, typ := split(s[2:len(s)-2], ", ")
    					str, val := split(str, "=>")
    					testEval(t, fset, pkg, comment.Pos(), str, nil, typ, val)
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    	// or the Unicode replacement character (0xFFFD).
    	Comma rune
    
    	// Comment, if not 0, is the comment character. Lines beginning with the
    	// Comment character without preceding whitespace are ignored.
    	// With leading whitespace the Comment character becomes part of the
    	// field, even if TrimLeadingSpace is true.
    	// Comment must be a valid rune and must not be \r, \n,
    	// or the Unicode replacement character (0xFFFD).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                    .map { idx -> (versions.item(idx) as Element).textContent }
                    .reversed()
            }
    
    
    internal
    fun Properties.store(file: java.io.File, comment: String? = null) {
        PropertiesUtils.store(this, file, comment, Charsets.ISO_8859_1, "\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 09:17:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/go/ast/ast.go

    type Comment struct {
    	Slash token.Pos // position of "/" starting the comment
    	Text  string    // comment text (excluding '\n' for //-style comments)
    }
    
    func (c *Comment) Pos() token.Pos { return c.Slash }
    func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) }
    
    // A CommentGroup represents a sequence of comments
    // with no other tokens and no empty lines between.
    type CommentGroup struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. src/crypto/internal/bigmod/_asm/nat_amd64_asm.go

    		hi, lo := GP64(), GP64()
    
    		Comment("Iteration " + strconv.Itoa(i))
    		MULXQ(x.Offset(i*8), lo, hi)
    		ADCXQ(carry, lo)
    		ADOXQ(z.Offset(i*8), lo)
    		MOVQ(lo, z.Offset(i*8))
    
    		i++
    
    		Comment("Iteration " + strconv.Itoa(i))
    		MULXQ(x.Offset(i*8), lo, carry)
    		ADCXQ(hi, lo)
    		ADOXQ(z.Offset(i*8), lo)
    		MOVQ(lo, z.Offset(i*8))
    	}
    
    	Comment("Add back carry flags and return")
    	ADCXQ(z0, carry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 22:37:58 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_retract_rationale.txt

    
    # When there is a comment on a block, but not on individual retractions within
    # the block, the rationale should come from the block comment.
    go list -m -retracted -f '{{.Retracted}}' example.com/retract/rationale@v1.0.0-block
    stdout '^\[block comment\]$'
    go list -m -retracted -f '{{.Retracted}}' example.com/retract/rationale@v1.0.0-blockwithcomment
    stdout '^\[inner comment\]$'
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/SampleIncludeProcessorTest.groovy

            given:
            tmpDir.newFile("src/samples/build.gradle") << """
                |// No-indent comment outside of tag
                |// tag::foo[]
                |    // Comment
                |    doLast {
                |// end::foo[]
                |        println "hello world"
                |// tag::foo[]
                |    }
                |// end::foo[]
            """.trim().stripMargin()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/testdata/sample.go

    // ERROR
    // ERRORfoo
    //  ERROR foo
    
    // This is a valid error comment; it applies to the
    // immediately following token. 
    import "math" /* ERROR unexpected comma */ ,
    
    // If there are multiple /*-style error comments before
    // the next token, only the last one is considered.
    type x = /* ERROR ignored */ /* ERROR literal 0 in type declaration */ 0
    
    // A //-style error comment matches any error position
    // on the same line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 951 bytes
    - Viewed (0)
  10. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy

            builder.methodInvocation(null, "foo", "bar")
            builder.propertyAssignment("has comment", "foo", "bar")
            builder.propertyAssignment(null, "foo", 123)
            builder.propertyAssignment(null, "foo", false)
            def b1 = builder.block(null, "block1")
            b1.methodInvocation("comment", "method1")
            b1.methodInvocation("comment", "method2")
            b1.methodInvocation(null, "method3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top