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

Method c_str

src/include/object.cc:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46const char *file_object_t::c_str() const {
47 if (!buf[0])
48 snprintf(buf, sizeof(buf), "%llx.%08llx", (long long unsigned)ino, (long long unsigned)bno);
49 return buf;
50}
51
52std::ostream& operator<<(std::ostream& out, const snapid_t& s) {
53 if (s == CEPH_NOSNAP)

Callers 6

parse_dateMethod · 0.45
invoke_dateMethod · 0.45
printMethod · 0.45
decodeFunction · 0.45
decodeMethod · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected