MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / Grow

Method Grow

include/sonic/writebuffer.h:128–128  ·  view source on GitHub ↗

* @brief Increase the capacity of buffer if cnt is greater than the * remained capacity in the buffer. Otherwise, do nothing. */

Source from the content-addressed store, hash-verified

126 * remained capacity in the buffer. Otherwise, do nothing.
127 */
128 sonic_force_inline char* Grow(size_t cnt) { return stack_.Grow(cnt); }
129
130 /**
131 * @brief Get the end of the buffer.

Callers 1

ToStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected