- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for copylocks (0.15 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
sync.WaitGroup, may cause both copies to malfunction. Generally such values should be referred to through a pointer.` var Analyzer = &analysis.Analyzer{ Name: "copylocks", Doc: Doc, URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/copylock", Requires: []*analysis.Analyzer{inspect.Analyzer}, RunDespiteErrors: true, Run: run, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
src/internal/runtime/atomic/types.go
// after the first use. // // See https://golang.org/issues/8005#issuecomment-190753527 // for details. type noCopy struct{} // Lock is a no-op used by -copylocks checker from `go vet`. func (*noCopy) Lock() {} func (*noCopy) Unlock() {} // align64 may be added to structs that must be 64-bit aligned. // This struct is recognized by a special case in the compiler
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 14.2K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
return cmd } func TestVet(t *testing.T) { t.Parallel() for _, pkg := range []string{ "appends", "asm", "assign", "atomic", "bool", "buildtag", "cgo", "composite", "copylock", "deadcode", "directive", "httpresponse", "lostcancel", "method", "nilfunc", "print", "shift", "slog", "structtag", "testingpkg", // "testtag" has its own test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0)