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

Function main

tools/rorescompiler/main.cpp:22–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20};
21
22int main(int argc, char** argv) {
23 if (argc < 3) {
24 Cerr << "usage: " << argv[0] << " outfile [key=value]+" << Endl;
25
26 return 1;
27 }
28
29 TFixedBufferFileOutput out(argv[1]);
30
31 argv = argv + 2;
32 out << "#include <library/cpp/resource/registry.h>\n\n";
33
34 while (*argv) {
35 TVector<TString> items = StringSplitter(TString(*(argv))).Split('=').Limit(2).ToList<TString>();
36 GenOne(items[0], items[1], out);
37 argv++;
38 }
39}

Callers

nothing calls this directly

Calls 4

StringSplitterFunction · 0.85
GenOneFunction · 0.70
LimitMethod · 0.45
SplitMethod · 0.45

Tested by

no test coverage detected