MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / HashTableSetKey

Function HashTableSetKey

src/util/dict.c:668–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668void HashTableSetKey(dict *d, dictEntry* de, void *key) {
669 if (d->type->keyDup)
670 de->key = d->type->keyDup(d, key);
671 else
672 de->key = key;
673}
674
675void HashTableSetVal(dict *d, dictEntry *de, void *val) {
676 de->v.val = d->type->valDup ? d->type->valDup(d, val) : val;

Callers 1

HashTableAddRawFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected