- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 426 for COMMENT (0.17 sec)
-
src/cmd/go/internal/modindex/build.go
comment, _, ok = bytes.Cut(data[2:], starSlash) if !ok { // malformed comment return "", 0 } if bytes.Contains(comment, newline) { return "", 0 } } comment = bytes.TrimSpace(comment) // split comment into `import`, `"pkg"` word, arg := parseWord(comment) if string(word) != "import" { return "", 0 } line = 1 + bytes.Count(data[:cap(data)-cap(arg)], newline)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/text/template/parse/lex_test.go
tPipe, tPipe, tPipe, tRight, tEOF, }}, {"text with bad comment", "hello-{{/*/}}-world", []item{ mkItem(itemText, "hello-"), mkItem(itemError, `unclosed comment`), }}, {"text with comment close separated from delim", "hello-{{/* */ }}-world", []item{ mkItem(itemText, "hello-"), mkItem(itemError, `comment ends before closing delimiter`), }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
src/text/template/parse/parse_test.go
textFormat = "%q" defer func() { textFormat = "%s" }() tests := [...]parseTest{ {"comment", "{{/*\n\n\n*/}}", noError, "{{/*\n\n\n*/}}"}, {"comment trim left", "x \r\n\t{{- /* hi */}}", noError, `"x"{{/* hi */}}`}, {"comment trim right", "{{/* hi */ -}}\n\n\ty", noError, `{{/* hi */}}"y"`}, {"comment trim left and right", "x \r\n\t{{- /* */ -}}\n\n\ty", noError, `"x"{{/* */}}"y"`}, } for _, test := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
src/net/mail/message_test.go
Name: "Joe Q. Public", Address: "******@****.***", }}, }, // Comment in display name { `John (middle) Doe <******@****.***e>`, []*Address{{ Name: "John Doe", Address: "******@****.***e", }}, }, // Display name is quoted string, so comment is not a comment { `"John (middle) Doe" <******@****.***e>`, []*Address{{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 30.4K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseProject.java
} public String getComment() { return comment; } /** * A comment used for the eclipse project. By default it will be configured to <b>project.description</b> * <p> * For example see docs for {@link EclipseProject} */ public void setComment(String comment) { this.comment = comment; } public Set<String> getReferencedProjects() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 13.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/xml/SimpleXmlWriterSpec.groovy
} def "surrogates in comment"() { when: writer.startElement("root") writer.comment("丈, 😃, and नि, and > or &") writer.endElement() then: xml == "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><!-- 丈, 😃, and नि, and > or & --></root>" } def 'detects invalid comment'() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 02 12:15:58 UTC 2021 - 14.1K bytes - Viewed (0) -
src/html/template/js.go
// the error into the template, as part of a comment, we attempt to // prevent the error from either terminating the comment, or the script // block itself. // // In particular we: // * replace "*/" comment end tokens with "* /", which does not // terminate the comment // * replace "</script" with "\x3C/script", and "<!--" with
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 14.1K bytes - Viewed (0) -
JavadocStyleGuide.md
Basic formatting rules: - The first line contains the begin-comment delimiter ( `/**`). - The first sentence is a summary. - Notice the inline tag `{@link URL}`, which converts to an HTML hyperlink pointing to the documentation for the URL class. - If you have more than one paragraph in the doc comment, separate the paragraphs with a `<p>` paragraph tag, as shown. - Insert a blank comment line between the description and the list of tags, as shown.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 15:43:07 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
{"\t\n\t", []string{}, []string{}, []string{}, false}, {"#comment\n", []string{}, []string{}, []string{}, false}, {" #comment\n", []string{}, []string{}, []string{}, false}, {"#comment\n#comment", []string{}, []string{}, []string{}, false}, {"#comment\nnameserver", []string{}, []string{}, []string{}, true}, // nameserver empty
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
src/runtime/mbarrier.go
// Pass nil for the type. ptr does not point to value of type typ, // but rather points into one so it's not safe to apply the optimization. // See the comment on this function in the reflect package and the // comment on bulkBarrierPreWrite. bulkBarrierPreWrite(uintptr(ptr), 0, size, nil) } memclrNoHeapPointers(ptr, size) } //go:linkname reflect_typedarrayclear reflect.typedarrayclear
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0)