MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / dictFind

Function dictFind

src/dict.cpp:872–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870}
871
872dictEntry *dictFind(dict *d, const void *key)
873{
874 dictEntry **deT;
875 dictht *ht;
876 uint64_t h = dictHashKey(d, key);
877 return dictFindWithPrev(d, key, h, &deT, &ht);
878}
879
880void *dictFetchValue(dict *d, const void *key) {
881 dictEntry *he;

Callers 15

iterateMethod · 0.70
insertMethod · 0.70
setExpireMethod · 0.70
ensureMethod · 0.70
randomMethod · 0.70
removeCachedValueMethod · 0.70
trackkeyMethod · 0.70
pubsubSubscribeChannelFunction · 0.70
pubsubUnsubscribeChannelFunction · 0.70
pubsubSubscribePatternFunction · 0.70
pubsubUnsubscribePatternFunction · 0.70
pubsubPublishMessageFunction · 0.70

Calls 1

dictFindWithPrevFunction · 0.85

Tested by

no test coverage detected