Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for copylocks (0.13 sec)

  1. src/cmd/go/internal/test/flagdefs.go

    	"atomic":           true,
    	"bool":             true,
    	"bools":            true,
    	"buildtag":         true,
    	"buildtags":        true,
    	"cgocall":          true,
    	"composites":       true,
    	"copylocks":        true,
    	"defers":           true,
    	"directive":        true,
    	"errorsas":         true,
    	"framepointer":     true,
    	"httpresponse":     true,
    	"ifaceassert":      true,
    	"loopclosure":      true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/internal/fuzz/pcg.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()   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/sync/cond.go

    //
    // See https://golang.org/issues/8005#issuecomment-190753527
    // for details.
    //
    // Note that it must not be embedded, due to the Lock and Unlock methods.
    type noCopy struct{}
    
    // Lock is a no-op used by -copylocks checker from `go vet`.
    func (*noCopy) Lock()   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. 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)
  5. src/sync/atomic/type.go

    //
    // See https://golang.org/issues/8005#issuecomment-190753527
    // for details.
    //
    // Note that it must not be embedded, due to the Lock and Unlock methods.
    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: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/internal/test/test.go

    	// TODO(rsc): Decide which tests are enabled by default.
    	// See golang.org/issue/18085.
    	// "-asmdecl",
    	// "-assign",
    	"-atomic",
    	"-bool",
    	"-buildtags",
    	// "-cgocall",
    	// "-composites",
    	// "-copylocks",
    	"-directive",
    	"-errorsas",
    	// "-httpresponse",
    	"-ifaceassert",
    	// "-lostcancel",
    	// "-methods",
    	"-nilfunc",
    	"-printf",
    	// "-rangeloops",
    	// "-shift",
    	"-slog",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/buildtag"
    	"golang.org/x/tools/go/analysis/passes/cgocall"
    	"golang.org/x/tools/go/analysis/passes/composite"
    	"golang.org/x/tools/go/analysis/passes/copylock"
    	"golang.org/x/tools/go/analysis/passes/defers"
    	"golang.org/x/tools/go/analysis/passes/directive"
    	"golang.org/x/tools/go/analysis/passes/errorsas"
    	"golang.org/x/tools/go/analysis/passes/framepointer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/bools
    golang.org/x/tools/go/analysis/passes/buildtag
    golang.org/x/tools/go/analysis/passes/cgocall
    golang.org/x/tools/go/analysis/passes/composite
    golang.org/x/tools/go/analysis/passes/copylock
    golang.org/x/tools/go/analysis/passes/ctrlflow
    golang.org/x/tools/go/analysis/passes/defers
    golang.org/x/tools/go/analysis/passes/directive
    golang.org/x/tools/go/analysis/passes/errorsas
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top