MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / lookup

Method lookup

Engine/source/sim/netConnection.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163NetConnection *NetConnection::lookup(const NetAddress *addr)
164{
165 U32 hashIndex = HashNetAddress(addr);
166 for(NetConnection *walk = mHashTable[hashIndex]; walk; walk = walk->mNextTableHash)
167 if(Net::compareAddresses(addr, walk->getNetAddress()))
168 return walk;
169 return NULL;
170}
171
172void NetConnection::netAddressTableInsert()
173{

Callers

nothing calls this directly

Calls 2

HashNetAddressFunction · 0.85
getNetAddressMethod · 0.80

Tested by

no test coverage detected