Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for SendOnly (0.13 sec)

  1. src/go/types/expr.go

    			return
    		}
    		ch, _ := u.(*Chan)
    		if ch == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from non-channel %s", x)
    			x.mode = invalid
    			return
    		}
    		if ch.dir == SendOnly {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from send-only channel %s", x)
    			x.mode = invalid
    			return
    		}
    
    		x.mode = commaok
    		x.typ = ch.elem
    		check.hasCallOrRecv = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/expr.go

    			return
    		}
    		ch, _ := u.(*Chan)
    		if ch == nil {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from non-channel %s", x)
    			x.mode = invalid
    			return
    		}
    		if ch.dir == SendOnly {
    			check.errorf(x, InvalidReceive, invalidOp+"cannot receive from send-only channel %s", x)
    			x.mode = invalid
    			return
    		}
    		x.mode = commaok
    		x.typ = ch.elem
    		check.hasCallOrRecv = true
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RelativeTo", Func, 5},
    		{"Rune", Const, 5},
    		{"Satisfies", Func, 20},
    		{"Scope", Type, 5},
    		{"Selection", Type, 5},
    		{"SelectionKind", Type, 5},
    		{"SelectionString", Func, 5},
    		{"SendOnly", Const, 5},
    		{"SendRecv", Const, 5},
    		{"Signature", Type, 5},
    		{"Sizes", Type, 5},
    		{"SizesFor", Func, 9},
    		{"Slice", Type, 5},
    		{"StdSizes", Type, 5},
    		{"StdSizes.MaxAlign", Field, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top