Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for copylocks (0.21 sec)

  1. 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)
  2. 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)
  3. src/cmd/internal/test2json/testdata/vet.json

    {"Action":"pass","Test":"TestVet/0"}
    {"Action":"output","Test":"TestVet/4","Output":"    --- PASS: TestVet/4 (0.16s)\n"}
    {"Action":"output","Test":"TestVet/4","Output":"        vet_test.go:114: files: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
    {"Action":"pass","Test":"TestVet/4"}
    {"Action":"output","Test":"TestVet/1","Output":"    --- PASS: TestVet/1 (0.07s)\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/smiley.json

    {"Action":"pass","Test":"Test☺☹/0"}
    {"Action":"output","Test":"Test☺☹/4","Output":"    --- PASS: Test☺☹/4 (0.16s)\n"}
    {"Action":"output","Test":"Test☺☹/4","Output":"        vet_test.go:114: φιλεσ: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
    {"Action":"pass","Test":"Test☺☹/4"}
    {"Action":"output","Test":"Test☺☹/1","Output":"    --- PASS: Test☺☹/1 (0.07s)\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
Back to top