MCPcopy Create free account
hub / github.com/apache/qpid-proton / pni_buffer_tail

Function pni_buffer_tail

c/src/core/buffer.c:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94static size_t pni_buffer_tail(pn_buffer_t *buf)
95{
96 size_t tail = buf->start + buf->size;
97 if (tail >= buf->capacity)
98 tail -= buf->capacity;
99 return tail;
100}
101
102static bool pni_buffer_wrapped(pn_buffer_t *buf)
103{

Callers 3

pni_buffer_wrappedFunction · 0.85
pni_buffer_tail_spaceFunction · 0.85
pn_buffer_appendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected