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

Function CacheArray_PopulateEntry

src/util/cache/cache_array.c:26–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26CacheEntry *CacheArray_PopulateEntry(long long counter, CacheEntry *entry, char *key,
27 void *value) {
28
29 entry->key = key;
30 entry->value = value;
31 entry->LRU = counter;
32
33 return entry;
34}
35
36void CacheArray_CleanEntry(CacheEntry *entry, CacheEntryFreeFunc free_entry) {
37 ASSERT(entry != NULL);

Callers 1

_Cache_SetValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected