- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ChanDir (0.22 sec)
-
src/go/types/chan.go
type Chan struct { dir ChanDir elem Type } // A ChanDir value indicates a channel direction. type ChanDir int // The direction of a channel is indicated by one of these constants. const ( SendRecv ChanDir = iota SendOnly RecvOnly ) // NewChan returns a new channel type for the given direction and element type. func NewChan(dir ChanDir, elem Type) *Chan {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 1K bytes - Viewed (0) -
src/reflect/badlinkname.go
//go:linkname badlinkname_rtype_Bits reflect.(*rtype).Bits func badlinkname_rtype_Bits(*rtype) int //go:linkname badlinkname_rtype_ChanDir reflect.(*rtype).ChanDir func badlinkname_rtype_ChanDir(*rtype) ChanDir //go:linkname badlinkname_rtype_Comparable reflect.(*rtype).Comparable func badlinkname_rtype_Comparable(*rtype) bool //go:linkname badlinkname_rtype_ConvertibleTo reflect.(*rtype).ConvertibleTo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/go/internal/gcimporter/support.go
fakeLines[i] = i } }) for _, f := range s.files { f.file.SetLines(fakeLines[:f.lastline]) } } var ( fakeLines []int fakeLinesOnce sync.Once ) func chanDir(d int) types.ChanDir { // tag values must match the constants in cmd/compile/internal/gc/go.go switch d { case 1 /* Crecv */ : return types.RecvOnly case 2 /* Csend */ : return types.SendOnly case 3 /* Cboth */ :
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 4.1K bytes - Viewed (0)