- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 675 for comment2 (0.48 sec)
-
src/net/nss_test.go
sources: map[string][]nssSource{ "foo": {{source: "a"}, {source: "b"}}, }, }, }, { name: "comment1", in: " foo:a b#c\n", want: &nssConf{ sources: map[string][]nssSource{ "foo": {{source: "a"}, {source: "b"}}, }, }, }, { name: "comment2", in: " foo:a b #c \n", want: &nssConf{ sources: map[string][]nssSource{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:15:51 UTC 2022 - 3.4K bytes - Viewed (0) -
src/go/printer/testdata/comments.x
type I2 interface { I0 F(x float) float // exported method G(x float) float // exported method } // The S3 struct; all comments except for the last one must appear in the export. type S3 struct { // lead comment for F1 F1 int // line comment for F1 // lead comment for F2 F2 int // line comment for F2 // contains filtered or unexported fields
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:50 UTC 2022 - 1.2K 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/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) -
src/go/printer/testdata/comments2.input
} } 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: Thu Jan 26 00:06:54 UTC 2017 - 2.3K bytes - Viewed (0) -
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/cmd/gofmt/testdata/comments.input
package main func main() {} // comment here func f() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 19:54:45 UTC 2011 - 76 bytes - Viewed (0) -
src/cmd/gofmt/testdata/comments.golden
package main func main() {} // comment here func f() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 19:54:45 UTC 2011 - 76 bytes - Viewed (0) -
operator/pkg/object/testdata/well-formed-with-comments.yaml
# some random comments # some random comments apiVersion: v1 kind: ConfigMap metadata: name: myconfigmap namespace: default # some random comments should be deleted data: mydata: |- First line of data # some random comments should not be deleted Second line of data
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 19:39:36 UTC 2023 - 304 bytes - Viewed (0) -
operator/pkg/object/testdata/well-formed-with-comments.out.yaml
apiVersion: v1 kind: ConfigMap metadata: name: myconfigmap namespace: default data: mydata: |- First line of data # some random comments should not be deleted
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 19:39:36 UTC 2023 - 193 bytes - Viewed (0)