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

Function WriteChars

util/stream/format.h:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46 template <typename T>
47 static inline void WriteChars(T& os, char c, size_t count) {
48 if (count == 0) {
49 return;
50 }
51 TTempBuf buf(count);
52 memset(buf.Data(), c, count);
53 StreamWrite(os, buf.Data(), count);
54 }
55
56 template <typename T>
57 struct TLeftPad {

Callers 1

format.hFile · 0.85

Calls 2

StreamWriteFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected