MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Add

Method Add

pcsx2/DEV9/ThreadSafeMap.h:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32public:
33 void Add(Key key, T value)
34 {
35 std::unique_lock modifyLock(accessMutex);
36 //Todo, check if key already exists?
37 map[key] = value;
38 }
39
40 bool Remove(Key key)
41 {

Callers 3

SendICMPMethod · 0.45
SendTCPMethod · 0.45
SendUDPMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected