Home
last modified time | relevance | path

Searched refs:current_backoff (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/test/core/backoff/
Dbackoff_test.cc129 grpc_millis current_backoff = initial_backoff; in TEST() local
147 static_cast<double>(current_backoff) * (1 - jitter)); in TEST()
149 static_cast<double>(current_backoff) * (1 + jitter)); in TEST()
158 current_backoff = in TEST()
159 std::min(static_cast<grpc_millis>(static_cast<double>(current_backoff) * in TEST()
163 static_cast<double>(current_backoff) * (1 - jitter)); in TEST()
165 static_cast<double>(current_backoff) * (1 + jitter)); in TEST()
/external/grpc-grpc/doc/
Dconnection-backoff.md23 current_backoff = INITIAL_BACKOFF
28 current_backoff = Min(current_backoff * MULTIPLIER, MAX_BACKOFF)
29 current_deadline = now() + current_backoff +
30 UniformRandom(-JITTER * current_backoff, JITTER * current_backoff)