MCPcopy Create free account
hub / github.com/VCVRack/Rack / capacity

Method capacity

include/dsp/ringbuffer.hpp:114–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 return end - start;
113 }
114 size_t capacity() const {
115 return S - size();
116 }
117 /** Returns a pointer to S consecutive elements for appending.
118 If any data is appended, you must call endIncr afterwards.
119 Pointer is invalidated when any other method is called.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected