MCPcopy Create free account
hub / github.com/catboost/catboost / Printf

Function Printf

util/stream/printf.cpp:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <util/memory/tempbuf.h>
6
7size_t Printf(IOutputStream& out, const char* fmt, ...) {
8 va_list lst;
9 va_start(lst, fmt);
10
11 Y_DEFER {
12 va_end(lst);
13 };
14
15 return Printf(out, fmt, lst);
16}
17
18static inline size_t TryPrintf(void* ptr, size_t len, IOutputStream& out, const char* fmt, va_list params) {
19 va_list lst;

Callers 6

Y_UNIT_TESTFunction · 0.70
AddLogMethod · 0.50
vwarnxFunction · 0.50
vwarnFunction · 0.50
vsprintfFunction · 0.50
fcatFunction · 0.50

Calls 4

TryPrintfFunction · 0.85
MaxFunction · 0.50
DataMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected