MCPcopy Create free account
hub / github.com/catboost/catboost / operator*

Function operator*

util/datetime/base.h:816–820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814
815template <class T>
816inline TDuration operator*(TDuration d, T t) noexcept {
817 Y_ASSERT(t >= T());
818 Y_ASSERT(t == T() || Max<TDuration::TValue>() / t >= d.GetValue());
819 return TDuration::FromValue(d.GetValue() * t);
820}
821
822template <>
823inline TDuration operator*(TDuration d, double t) noexcept {

Callers

nothing calls this directly

Calls 2

TClass · 0.70
GetValueMethod · 0.45

Tested by

no test coverage detected