MCPcopy Create free account
hub / github.com/fmtlib/fmt / set

Method set

test/scan.h:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 ~scan_buffer() = default;
45
46 void set(span<const char> buf) {
47 ptr_ = buf.data;
48 end_ = buf.data + buf.size;
49 }
50
51 auto ptr() const -> const char* { return ptr_; }
52

Callers 10

growMethod · 0.45
mock_bufferMethod · 0.45
ostreamMethod · 0.45
growMethod · 0.45
growMethod · 0.45
basic_memory_bufferMethod · 0.45
moveMethod · 0.45
flushMethod · 0.45
iterator_bufferMethod · 0.45
growMethod · 0.45

Calls

no outgoing calls

Tested by 2

growMethod · 0.36
mock_bufferMethod · 0.36