Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SendRecv (0.23 sec)

  1. src/go/types/unify.go

    					case yn:
    						// x is not a defined type and y is a defined type: select y.
    						u.set(px, y)
    					default:
    						// Neither x nor y are defined types.
    						if yc, _ := under(y).(*Chan); yc != nil && yc.dir != SendRecv {
    							// y is a directed channel type: select y.
    							u.set(px, y)
    						}
    					}
    				}
    				return true
    			}
    			return false
    		}
    		// otherwise, infer type from y
    		u.set(px, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    					case yn:
    						// x is not a defined type and y is a defined type: select y.
    						u.set(px, y)
    					default:
    						// Neither x nor y are defined types.
    						if yc, _ := under(y).(*Chan); yc != nil && yc.dir != SendRecv {
    							// y is a directed channel type: select y.
    							u.set(px, y)
    						}
    					}
    				}
    				return true
    			}
    			return false
    		}
    		// otherwise, infer type from y
    		u.set(px, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top