MCPcopy Create free account
hub / github.com/ceph/ceph / write

Function write

src/common/perf_counters_key.cc:15–20  ·  view source on GitHub ↗

write a delimited string to the output

Source from the content-addressed store, hash-verified

13
14// write a delimited string to the output
15auto write(std::string_view str, std::output_iterator<char> auto out)
16{
17 out = std::copy(str.begin(), str.end(), out);
18 *(out++) = DELIMITER;
19 return out;
20}
21
22// return the encoded size of a label
23inline std::size_t label_size(const label_pair& l)

Callers 10

get_array_elementsMethod · 0.70
notifyMethod · 0.70
overflowMethod · 0.70
xsputnMethod · 0.70
writevFunction · 0.70
daemonizeMethod · 0.70
safe_writeFunction · 0.70
write_fdMethod · 0.70
label_writerClass · 0.70
createFunction · 0.70

Calls 3

copyFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected