MCPcopy Create free account
hub / github.com/cvmfs/cvmfs / StringifyInt

Function StringifyInt

cvmfs/util/string.cc:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76string StringifyBool(const bool value) { return value ? "yes" : "no"; }
77
78string StringifyInt(const int64_t value) {
79 char buffer[48];
80 snprintf(buffer, sizeof(buffer), "%" PRId64, value);
81 return string(buffer);
82}
83
84std::string StringifyUint(const uint64_t value) {
85 char buffer[48];

Callers 15

GenerateStackTraceMethod · 0.85
ReportStacktraceMethod · 0.85
SendTraceMethod · 0.85
SuperviseMethod · 0.85
SpawnPluginMethod · 0.85
InitializeHeaderFunction · 0.85
AppendItemToHeaderFunction · 0.85
MakePayloadMethod · 0.85
MakeDeltaPayloadMethod · 0.85
HumanReadableFilesizeMethod · 0.85
FormatMetalinkInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected