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

Function CircularBuffer_Full

src/util/circular_buffer.c:83–90  ·  view source on GitHub ↗

returns true if buffer is full

Source from the content-addressed store, hash-verified

81
82// returns true if buffer is full
83inline bool CircularBuffer_Full
84(
85 const CircularBuffer cb // buffer to inspect
86) {
87 ASSERT(cb != NULL);
88
89 return cb->item_count == cb->item_cap;
90}
91
92// sets the read pointer to the beginning of the buffer
93void CircularBuffer_ResetReader

Callers 3

test_CircularBufferInitFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_CircularBufferInitFunction · 0.68