MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / set

Method set

extlibs/fmt/include/fmt/core.h:661–664  ·  view source on GitHub ↗

Sets the buffer data and capacity. */

Source from the content-addressed store, hash-verified

659
660 /** Sets the buffer data and capacity. */
661 void set(T* buf_data, std::size_t buf_capacity) FMT_NOEXCEPT {
662 ptr_ = buf_data;
663 capacity_ = buf_capacity;
664 }
665
666 /** Increases the buffer capacity to hold at least *capacity* elements. */
667 virtual void grow(std::size_t capacity) = 0;

Callers 4

basic_memory_bufferMethod · 0.45
moveMethod · 0.45
growMethod · 0.45
growMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected