| 180 | } |
| 181 | |
| 182 | static Connection* GetConnection(HPool pool, HConnection c) { |
| 183 | uint16_t v = c >> 16; |
| 184 | uint16_t i = c & 0xffff; |
| 185 | |
| 186 | Connection* ret = &pool->m_Connections[i]; |
| 187 | assert(ret->m_Version == v); |
| 188 | return ret; |
| 189 | } |
| 190 | |
| 191 | static bool FindConnection(HPool pool, dmhash_t id, dmSocket::Address address, uint16_t port, bool ssl, HConnection* connection) |
| 192 | { |
no test coverage detected