- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 396 for COMMENT (0.08 sec)
-
src/go/printer/comment.go
return list } // Parse comment and reformat as text. var p comment.Parser d := p.Parse(text) var pr comment.Printer text = string(pr.Comment(d)) // For /* */ comment, return one big comment with text inside. slash := list[0].Slash if kind == "/*" { c := &ast.Comment{ Slash: slash, Text: "/*\n" + text + "*/", } return []*ast.Comment{c} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 07:35:19 UTC 2022 - 3.5K bytes - Viewed (0) -
src/go/doc/comment.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package doc import ( "go/doc/comment" "io" ) // ToHTML converts comment text to formatted HTML. // // Deprecated: ToHTML cannot identify documentation links // in the doc comment, because they depend on knowing what // package the text came from, which is not included in this API. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:52 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/doc/testdata/pkg.go
// license that can be found in the LICENSE file. // Package comment. package pkg import "io" // Constants // Comment about exported constant. const ExportedConstant = 1 // Comment about internal constant. const internalConstant = 2 // Comment about block of constants. const ( // Comment before ConstOne. ConstOne = 1 ConstTwo = 2 // Comment on line with ConstTwo.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 5.4K bytes - Viewed (0) -
internal/config/config_test.go
}, // Keys and input order of k=v is same. { input: `connection_string="host=localhost port=2832" comment="really long comment"`, keys: []string{"connection_string", "comment"}, expectedFields: map[string]struct{}{ `connection_string="host=localhost port=2832"`: {}, `comment="really long comment"`: {}, }, },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Aug 18 22:55:17 UTC 2022 - 4.2K bytes - Viewed (0) -
pkg/util/iptables/save_restore_test.go
:KUBE-SVC-6666666666666666 - [0:0] -A PREROUTING -m comment --comment "handle ClusterIPs; NOTE: this must be before the NodePort rules" -j KUBE-PORTALS-CONTAINER -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER -A PREROUTING -m addrtype --dst-type LOCAL -m comment --comment "handle service NodePorts; NOTE: this must be the last rule in the chain" -j KUBE-NODEPORT-CONTAINER
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-toascii.json
}, { "comment": "Label with trailing hyphen", "input": "x-.xn--zca", "output": "x-.xn--zca" }, { "input": "x-.ß", "output": "x-.xn--zca" }, { "comment": "Empty labels", "input": "x..xn--zca", "output": "x..xn--zca" }, { "input": "x..ß", "output": "x..xn--zca" }, { "comment": "Invalid Punycode", "input": "xn--a",
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 5.2K bytes - Viewed (0) -
src/go/doc/comment/testdata/doclink.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:45 UTC 2022 - 1.1K bytes - Viewed (0) -
src/go/types/commentMap_test.go
"strings" "testing" ) type comment struct { line, col int // comment position text string // comment text, excluding "//", "/*", or "*/" } // commentMap collects all comments in the given src with comment text // that matches the supplied regular expression rx and returns them as // []comment lists in a map indexed by line number. The comment text is // the comment with any comment markers ("//", "/*", or "*/") stripped.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 3K bytes - Viewed (0) -
pkg/util/coverage/fake_test_deps.go
//nolint:unused // U1000 see comment above, we know it's unused normally. func (fakeTestDeps) StartCPUProfile(io.Writer) error { return nil } //nolint:unused // U1000 see comment above, we know it's unused normally. func (fakeTestDeps) StopCPUProfile() {} //nolint:unused // U1000 see comment above, we know it's unused normally. func (fakeTestDeps) StartTestLog(io.Writer) {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 15:31:22 UTC 2024 - 3.5K bytes - Viewed (0) -
src/go/ast/commentmap.go
// }) return list } // A commentListReader helps iterating through a list of comment groups. type commentListReader struct { fset *token.FileSet list []*CommentGroup index int comment *CommentGroup // comment group at current index pos, end token.Position // source interval of comment group at current index } func (r *commentListReader) eol() bool { return r.index >= len(r.list) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0)