Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/options/
Dcf_options.cc84 uint64_t MultiplyCheckOverflow(uint64_t op1, double op2) { in MultiplyCheckOverflow() argument
85 if (op1 == 0 || op2 <= 0) { in MultiplyCheckOverflow()
88 if (port::kMaxUint64 / op1 < op2) { in MultiplyCheckOverflow()
91 return static_cast<uint64_t>(op1 * op2); in MultiplyCheckOverflow()
Dcf_options.h263 uint64_t MultiplyCheckOverflow(uint64_t op1, double op2);
/rocksdb-6.9/tools/
Dtrace_analyzer_tool.cc184 uint64_t MultiplyCheckOverflow(uint64_t op1, uint64_t op2) { in MultiplyCheckOverflow() argument
185 if (op1 == 0 || op2 == 0) { in MultiplyCheckOverflow()
188 if (port::kMaxUint64 / op1 < op2) { in MultiplyCheckOverflow()
191 return (op1 * op2); in MultiplyCheckOverflow()