- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 426 for COMMENT (0.16 sec)
-
src/go/doc/example.go
// Account for end-of-line comments. if imp.Comment != nil { prevEnd = imp.Comment.End() } } return groupStarts } // playExampleFile takes a whole file example and synthesizes a new *ast.File // such that the example is function main in package main. func playExampleFile(file *ast.File) *ast.File { // Strip copyright comment if present. comments := file.Comments
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 21.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
}) } // Change message based on whether there are multiple output comment blocks. msg := "output comment block must be the last comment block" if numOutputs > 1 { msg = "there can only be one output comment block per example" } for i, cg := range commentsInExample { // Check for output comments that are not the last comment in the example. isLast := (i == len(commentsInExample)-1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0) -
src/encoding/xml/xml.go
func (c CharData) Copy() CharData { return CharData(bytes.Clone(c)) } // A Comment represents an XML comment of the form <!--comment-->. // The bytes do not include the <!-- and --> comment markers. type Comment []byte // Copy creates a new copy of Comment. func (c Comment) Copy() Comment { return Comment(bytes.Clone(c)) } // A ProcInst represents an XML processing instruction of the form <?target inst?>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 47.3K bytes - Viewed (0) -
src/runtime/os2_aix.go
mp.libcallpc = getcallerpc() // sp must be the last, because once async cpu profiler finds // all three values to be non-zero, it will use them mp.libcallsp = getcallersp() } else { resetLibcall = false // See comment in sys_darwin.go:libcCall } c := libcall{ fn: uintptr(unsafe.Pointer(fn)), n: 0, args: uintptr(unsafe.Pointer(&fn)), // it's unused but must be non-nil, otherwise crashes }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/KotlinDslVersionCatalogExtensionIntegrationTest.groovy
configurations.implementation.get().extendsFrom(this) } dependencies { custom(libs.my.lib) custom(libs.my.lib2) { because("Some comment why we need this dependency") } } tasks.register<CheckDeps>("checkDeps") { files.from(configurations.compileClasspath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 17K bytes - Viewed (0) -
src/encoding/xml/read.go
d.saved = nil } } break Loop case CharData: if saveData.IsValid() { data = append(data, t...) } case Comment: if saveComment.IsValid() { comment = append(comment, t...) } } } if saveData.IsValid() && saveData.CanInterface() && saveData.Type().Implements(textUnmarshalerType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/javadoc/Groovydoc.java
this.use = use; } /** * Returns whether to include timestamp within hidden comment in generated HTML (Groovy >= 2.4.6). */ @Input public boolean isNoTimestamp() { return noTimestamp; } /** * Sets whether to include timestamp within hidden comment in generated HTML (Groovy >= 2.4.6). */ public void setNoTimestamp(boolean noTimestamp) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 14.1K bytes - Viewed (0) -
src/cmd/cgo/ast.go
var pieces []string for _, com := range g.List { c := com.Text // Remove comment markers. // The parser has given us exactly the comment text. switch c[1] { case '/': //-style comment (no newline at the end) c = c[2:] + "\n" case '*': /*-style comment */ c = c[2 : len(c)-2] } pieces = append(pieces, c) } return strings.Join(pieces, "") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
src/html/template/transition.go
c.state = stateCSS default: panic(c.state.String()) } return c, i + 2 } // tLineCmt is the context transition function for //comment states, and the JS HTML-like comment state. func tLineCmt(c context, s []byte) (context, int) { var lineTerminators string var endState state switch c.state { case stateJSLineCmt, stateJSHTMLOpenCmt, stateJSHTMLCloseCmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 18.2K bytes - Viewed (0) -
src/go/doc/reader.go
// A note must start at the beginning of a comment with "MARKER(uid):" // and is followed by the note body (e.g., "// BUG(gri): fix this"). // The note ends at the end of the comment group or at the start of // another note in the same comment group, whichever comes first. func (r *reader) readNotes(comments []*ast.CommentGroup) { for _, group := range comments { i := -1 // comment index of most recent note start, valid if >= 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0)