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

Function Error

contrib/libs/flatbuffers/src/flatc_main.cpp:53–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static void Error(const flatbuffers::FlatCompiler *flatc,
54 const std::string &err, bool usage, bool show_exe_name) {
55 if (show_exe_name) { printf("%s: ", g_program_name); }
56 if (usage && flatc) {
57 fprintf(stderr, "%s\n", flatc->GetShortUsageString(g_program_name).c_str());
58 }
59 fprintf(stderr, "\nerror:\n %s\n\n", err.c_str());
60 exit(1);
61}
62
63namespace flatbuffers {
64void LogCompilerWarn(const std::string &warn) {

Callers 15

RecurseErrorMethod · 0.70
ParseHexNumMethod · 0.70
SkipByteOrderMarkMethod · 0.70
NextMethod · 0.70
ExpectMethod · 0.70
ParseTypeMethod · 0.70
AddFieldMethod · 0.70
ParseFieldMethod · 0.70
ParseAnyValueMethod · 0.70
ParseTableDelimitersMethod · 0.70
ParseTableMethod · 0.70
ParseAlignAttributeMethod · 0.70

Calls 3

exitFunction · 0.85
GetShortUsageStringMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected