Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ChanDir (0.37 sec)

  1. src/reflect/type.go

    		i--
    	}
    	return s[i+1:]
    }
    
    func nameFor(t *abi.Type) string {
    	return toRType(t).Name()
    }
    
    func (t *rtype) ChanDir() ChanDir {
    	if t.Kind() != Chan {
    		panic("reflect: ChanDir of non-chan type " + t.String())
    	}
    	tt := (*abi.ChanType)(unsafe.Pointer(t))
    	return ChanDir(tt.Dir)
    }
    
    func toRType(t *abi.Type) *rtype {
    	return (*rtype)(unsafe.Pointer(t))
    }
    
    func elem(t *abi.Type) *abi.Type {
    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