- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 946 for COMMENT (0.16 sec)
-
src/go/parser/parser_test.go
// f3 lead comment f3 int // f3 line comment f4 int /* not a line comment */ ; f5 int ; // f5 line comment f6 int ; /* f6 line comment */ f7 int ; /*f7a*/ /*f7b*/ //f7c } `, ParseComments) if err != nil { t.Fatal(err) } checkFieldComments(t, f, "T.F1", "/* F1 lead comment *///", "/* F1 */// line comment") checkFieldComments(t, f, "T.F2", "// F2 lead// comment", "// F2 line comment")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/print.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 00:48:59 UTC 2023 - 3.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
// A +build comment is ignored after or adjoining the package declaration. if group.End()+1 >= f.Package { check.plusBuildOK = false } // A //go:build comment is ignored after the package declaration // (but adjoining it is OK, in contrast to +build comments). if group.Pos() >= f.Package { check.goBuildOK = false } // Check each line of a //-comment. for _, c := range group.List {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{"foo /* */ /* \n */ bar/**/\n", "IDENT COMMENT COMMENT ; IDENT COMMENT ;"}, {"foo /*0*/ /*1*/ /*2*/\n", "IDENT COMMENT COMMENT COMMENT ;"}, {"foo /*comment*/ \n", "IDENT COMMENT ;"}, {"foo /*0*/ /*1*/ /*2*/ \n", "IDENT COMMENT COMMENT COMMENT ;"}, {"foo /**/ /*-------------*/ /*----\n*/bar /* \n*/baa\n", "IDENT COMMENT COMMENT COMMENT ; IDENT COMMENT ; IDENT ;"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/go/doc/comment/testdata/doclink4.txt
-- input -- [io] at start of comment. [io] at start of line. At end of line: [io] At end of comment: [io] -- markdown --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:42 UTC 2022 - 235 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java
} /** * Writes an XML comment. * Characters are not XML encoded inside the comment. * The start comment delimiter will contain a space if the comment does not start with a blank character. * The end comment delimiter will contain a space if the comment does not end with a blank character. * * @param comment the comment to write * @return this writer
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 02 12:15:58 UTC 2021 - 12K bytes - Viewed (0) -
src/compress/gzip/gzip_test.go
} b, err := io.ReadAll(r) if err != nil { t.Fatalf("ReadAll: %v", err) } if string(b) != "payload" { t.Fatalf("payload is %q, want %q", string(b), "payload") } if r.Comment != "comment" { t.Fatalf("comment is %q, want %q", r.Comment, "comment") } if string(r.Extra) != "extra" { t.Fatalf("extra is %q, want %q", r.Extra, "extra") } if r.ModTime.Unix() != 1e8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:10:06 UTC 2024 - 6K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
} return err } func (m *IPSet) AddIP(ip netip.Addr, ipProto uint8, comment string, replace bool) error { ipToInsert := ip.Unmap() // We have already Unmap'd, so we can do a simple IsV6 y/n check now if ipToInsert.Is6() { return m.Deps.addIP(m.V6Name, ipToInsert, ipProto, comment, replace) } return m.Deps.addIP(m.V4Name, ipToInsert, ipProto, comment, replace) } func (m *IPSet) DeleteIP(ip netip.Addr, ipProto uint8) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 3.9K bytes - Viewed (0) -
src/go/printer/printer.go
var last *ast.Comment for p.commentBefore(next) { list := p.comment.List changed := false if p.lastTok != token.IMPORT && // do not rewrite cgo's import "C" comments p.posFor(p.comment.Pos()).Column == 1 && p.posFor(p.comment.End()+1) == next { // Unindented comment abutting next token position: // a top-level doc comment. list = formatDocComment(list) changed = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 41.6K bytes - Viewed (0) -
hack/golangci-strict.yaml
- revive - stylecheck
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 9.2K bytes - Viewed (0)