Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewNodeLink (0.18 sec)

  1. test/fixedbugs/issue19555.go

    	LinkClient                 // link created as client
    
    	// for testing:
    	linkNoRecvSend LinkRole = 1 << 16 // do not spawn serveRecv & serveSend
    	linkFlagsMask  LinkRole = (1<<32 - 1) << 16
    )
    
    func NewNodeLink(role LinkRole) *NodeLink {
    	var nextConnId uint32
    	switch role &^ linkFlagsMask {
    	case LinkServer:
    		nextConnId = 0 // all initiated by us connId will be even
    	case LinkClient:
    		nextConnId = 1 // ----//---- odd
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 21:44:08 UTC 2017
    - 836 bytes
    - Viewed (0)
Back to top