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

Function fputs

util/generic/yexception.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void fputs(const std::exception& e, FILE* f) {
160 char message[256];
161 size_t len = Min(sizeof(message) - 2, strlcpy(message, e.what(), sizeof(message) - 1));
162 message[len++] = '\n';
163 message[len] = 0;
164 fputs(message, f);
165}
166
167void ::NPrivate::ThrowYException(const ::NPrivate::TSimpleExceptionMessage& sm) {
168 throw sm.Location + yexception() << sm.Message;

Callers 14

DebugTraceMMgrFunction · 0.85
PrintFunction · 0.85
CrashHeaderMethod · 0.85
DumpMethod · 0.85
RTNAME(PauseStatement)Function · 0.85
open.cFile · 0.85
PutsFunction · 0.85
PrintVersionFunction · 0.85
Fax4DecodeFunction · 0.85
TIFFPrintDirectoryFunction · 0.85

Calls 3

MinFunction · 0.70
strlcpyFunction · 0.50
whatMethod · 0.45

Tested by

no test coverage detected