- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 396 for COMMENT (0.1 sec)
-
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/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) -
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) -
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) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/DependenciesBuilder.java
void projectDependency(String configuration, @Nullable String comment, String projectPath); void platformDependency(String configuration, @Nullable String comment, BuildInitDependency... dependencies); void selfDependency(String configuration, @Nullable String comment); void dependency(String configuration, @Nullable String comment, BuildInitDependency... dependencies);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 1.2K bytes - Viewed (0) -
src/compress/gzip/example_test.go
if err != nil { log.Fatal(err) } fmt.Printf("Name: %s\nComment: %s\nModTime: %s\n\n", zr.Name, zr.Comment, zr.ModTime.UTC()) if _, err := io.Copy(os.Stdout, zr); err != nil { log.Fatal(err) } if err := zr.Close(); err != nil { log.Fatal(err) } // Output: // Name: a-new-hope.txt // Comment: an epic space opera by George Lucas // ModTime: 1977-05-25 00:00:00 +0000 UTC //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 22 16:24:14 UTC 2022 - 4.8K bytes - Viewed (0) -
src/go/doc/synopsis.go
var p Package return p.Synopsis(text) } // IllegalPrefixes is a list of lower-case prefixes that identify // a comment as not being a doc comment. // This helps to avoid misinterpreting the common mistake // of a copyright notice immediately before a package statement // as being a doc comment. var IllegalPrefixes = []string{ "copyright", "all rights", "author", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/error_test.go
// message. The rx text comprises the comment text after "ERROR ", // with any white space around it stripped. // // If the line comment form is used, the reported error's line must // match the line of the error comment. // // If the regular comment form is used, the reported error's position // must match the position of the token immediately following the // error comment. Thus, /* ERROR ... */ comments should appear
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.8K bytes - Viewed (0) -
src/go/printer/testdata/comments.x
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)