Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for chanbuf (0.08 sec)

  1. src/reflect/type.go

    	m sync.Map
    }
    
    // ChanOf returns the channel type with the given direction and element type.
    // For example, if t represents int, ChanOf(RecvDir, t) represents <-chan int.
    //
    // The gc runtime imposes a limit of 64 kB on channel element types.
    // If t's size is equal to or exceeds this limit, ChanOf panics.
    func ChanOf(dir ChanDir, t Type) Type {
    	typ := t.common()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top