Home
last modified time | relevance | path

Searched refs:max_milli_tokens (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc43 intptr_t max_milli_tokens, intptr_t milli_token_ratio, in ServerRetryThrottleData() argument
45 : max_milli_tokens_(max_milli_tokens), in ServerRetryThrottleData()
47 intptr_t initial_milli_tokens = max_milli_tokens; in ServerRetryThrottleData()
58 static_cast<intptr_t>(token_fraction * max_milli_tokens); in ServerRetryThrottleData()
169 const std::string& server_name, intptr_t max_milli_tokens, in GetDataForServer() argument
177 throttle_data->max_milli_tokens() != max_milli_tokens || in GetDataForServer()
181 max_milli_tokens, milli_token_ratio, throttle_data); in GetDataForServer()
Dretry_throttle.h35 ServerRetryThrottleData(intptr_t max_milli_tokens, intptr_t milli_token_ratio,
45 intptr_t max_milli_tokens() const { return max_milli_tokens_; } in max_milli_tokens() function
72 const std::string& server_name, intptr_t max_milli_tokens,
Dresolver_result_parsing.h44 intptr_t max_milli_tokens = 0; member
Dresolver_result_parsing.cc191 retry_throttling->max_milli_tokens = in ParseRetryThrottling()
193 if (retry_throttling->max_milli_tokens <= 0) { in ParseRetryThrottling()
Dclient_channel.cc2300 server_name_, retry_throttle_config.value().max_milli_tokens, in UpdateServiceConfigInDataPlaneLocked()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc41 intptr_t max_milli_tokens, intptr_t milli_token_ratio, in ServerRetryThrottleData() argument
43 : max_milli_tokens_(max_milli_tokens), in ServerRetryThrottleData()
45 intptr_t initial_milli_tokens = max_milli_tokens; in ServerRetryThrottleData()
56 static_cast<intptr_t>(token_fraction * max_milli_tokens); in ServerRetryThrottleData()
167 const char* server_name, intptr_t max_milli_tokens, in GetDataForServer() argument
175 throttle_data->max_milli_tokens() != max_milli_tokens || in GetDataForServer()
179 max_milli_tokens, milli_token_ratio, throttle_data); in GetDataForServer()
Dretry_throttle.h32 ServerRetryThrottleData(intptr_t max_milli_tokens, intptr_t milli_token_ratio,
41 intptr_t max_milli_tokens() const { return max_milli_tokens_; } in max_milli_tokens() function
74 const char* server_name, intptr_t max_milli_tokens,
Dclient_channel.cc237 int max_milli_tokens = 0; in parse_retry_throttle_params() local
243 if (max_milli_tokens != 0) return; // Duplicate. in parse_retry_throttle_params()
245 max_milli_tokens = gpr_parse_nonnegative_int(sub_field->value); in parse_retry_throttle_params()
246 if (max_milli_tokens == -1) return; in parse_retry_throttle_params()
247 max_milli_tokens *= 1000; in parse_retry_throttle_params()
283 parsing_state->server_name, max_milli_tokens, milli_token_ratio); in parse_retry_throttle_params()