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

Method AddQuery

library/cpp/par/par_remote.cpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 {
76 }
77 void AddQuery(int compId, const char* query, TVector<char>* data) {
78 Meta->SendQuery(compId, query, data, this, AtomicGet(QueryCount));
79 AtomicIncrement(QueryCount);
80 }
81 void GotResponse(int id, TVector<char>* response) override {
82 if (id >= Results.ysize())
83 Results.resize(id + 1);

Callers 2

RunMasterMethod · 0.45
StopSlavesMethod · 0.45

Calls 3

SendQueryMethod · 0.80
AtomicGetFunction · 0.50
AtomicIncrementFunction · 0.50

Tested by

no test coverage detected