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

Function Set_Remove

src/datatypes/set.c:25–28  ·  view source on GitHub ↗

Removes v from set. */

Source from the content-addressed store, hash-verified

23
24/* Removes v from set. */
25void Set_Remove(set *s, SIValue v) {
26 unsigned long long const hash = SIValue_HashCode(v);
27 raxRemove(s, (unsigned char *)&hash, sizeof(hash), NULL);
28}
29
30/* Return number of elements in set. */
31uint64_t Set_Size(set *s) {

Callers 1

test_setFunction · 0.85

Calls 1

SIValue_HashCodeFunction · 0.85

Tested by 1

test_setFunction · 0.68