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

Function stringify

src/include/stringify.h:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9template<typename T>
10inline std::string stringify(const T& a) {
11#if defined(__GNUC__) && !(defined(__clang__) || defined(__INTEL_COMPILER))
12 static __thread std::ostringstream ss;
13 ss.str("");
14#else
15 std::ostringstream ss;
16#endif
17 ss << a;
18 return ss.str();
19}
20
21template <class T, class A>
22T joinify(const A &begin, const A &end, const T &t)

Callers 15

ceph_set_mount_timeoutFunction · 0.85
do_mapFunction · 0.85
devno_to_krbd_idFunction · 0.85
update_monitorFunction · 0.85
mainFunction · 0.85
dumpMethod · 0.85
dumpMethod · 0.85
dump_objectMethod · 0.85
dump_exportMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
do_encodeFunction · 0.85

Calls 1

strMethod · 0.45

Tested by 15

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
execute_watchMethod · 0.68
TEST_FFunction · 0.68
get_temp_image_nameMethod · 0.68
TEST_FFunction · 0.68
get_temp_image_nameMethod · 0.68
TEST_FFunction · 0.68
TYPED_TESTFunction · 0.68
TEST_FFunction · 0.68