MCPcopy Create free account
hub / github.com/couchbase/fleece / equalKeys

Function equalKeys

Fleece/Support/ConcurrentMap.cc:138–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137 __hot FLPURE
138 static inline bool equalKeys(const char *keyPtr, slice key) {
139 return memcmp(keyPtr, key.buf, key.size) == 0 && keyPtr[key.size] == 0;
140 }
141
142
143 __hot

Callers 3

findMethod · 0.85
insertMethod · 0.85
removeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected