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

Method Set

library/cpp/neh/netliba.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 TDuration TNetLibaOptions::AckTailEffect = TDuration::Seconds(30);
27
28 bool TNetLibaOptions::Set(TStringBuf name, TStringBuf value) {
29#define NETLIBA_TRY_SET(optType, optName) \
30 if (name == TStringBuf(#optName)) { \
31 optName = FromString<optType>(value); \
32 }
33
34 NETLIBA_TRY_SET(size_t, ClientThreads)
35 else NETLIBA_TRY_SET(TDuration, AckTailEffect) else {
36 return false;
37 }
38 return true;
39 }
40}
41
42namespace {

Callers 1

OnRequestAckMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected