Home | History | Annotate | Download | only in reflect

Lines Matching refs:Chan

84 // v.Kind() must be Ptr, Map, Chan, Func, or UnsafePointer
674 // It panics if v's Kind is not Array, Chan, or Slice.
680 case Chan:
690 // It panics if v's Kind is not Chan.
692 v.mustBe(Chan)
966 // a chan, func, interface, map, pointer, or slice value; if it is
975 case Chan, Func, Map, Ptr:
1008 // It panics if v's Kind is not Array, Chan, Map, Slice, or String.
1015 case Chan:
1232 // It panics if v's Kind is not Chan, Func, Map, Ptr, Slice, or UnsafePointer.
1246 case Chan, Map, Ptr, UnsafePointer:
1274 // It panics if v's Kind is not Chan.
1279 v.mustBe(Chan)
1309 // It panics if v's kind is not Chan or if x's type is not the same type as v's element type.
1312 v.mustBe(Chan)
1658 // It panics if v's Kind is not Chan.
1663 v.mustBe(Chan)
1669 // It panics if v's Kind is not Chan.
1673 v.mustBe(Chan)
1911 SelectSend // case Chan <- Send
1912 SelectRecv // case <-Chan:
1920 // Chan and Send must be zero Values.
1923 // Normally Chan's underlying value must be a channel, and Send's underlying value must be
1924 // assignable to the channel's element type. As a special case, if Chan is a zero Value,
1929 // Normally Chan's underlying value must be a channel and Send must be a zero Value.
1930 // If Chan is a zero Value, then the case is ignored, but Send must still be a zero Value.
1935 Chan Value // channel to use (for send or receive)
1964 if c.Chan.IsValid() {
1965 panic("reflect.Select: default case has Chan value")
1972 ch := c.Chan
1976 ch.mustBe(Chan)
2000 ch := c.Chan
2004 ch.mustBe(Chan)
2061 if typ.Kind() != Chan {
2062 panic("reflect.MakeChan of non-chan type")
2071 return Value{typ.common(), ch, flag(Chan)}