MCPcopy Create free account
hub / github.com/ceres-solver/ceres-solver / StringPrintf

Function StringPrintf

internal/ceres/stringprintf.cc:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93std::string StringPrintf(const char* format, ...) {
94 va_list ap;
95 va_start(ap, format);
96 std::string result;
97 StringAppendV(&result, format, ap);
98 va_end(ap);
99 return result;
100}
101
102const std::string& SStringPrintf(std::string* dst, const char* format, ...) {
103 va_list ap;

Callers 15

HandleInvalidStepMethod · 0.85
MaxSolverTimeReachedMethod · 0.85
FactorizeMethod · 0.85
ProbeMethod · 0.85
DoSearchMethod · 0.85

Calls 1

StringAppendVFunction · 0.85

Tested by 2

ExpectCloseFunction · 0.68
ToStringFunction · 0.68