Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dxds_api.h119 absl::optional<uint32_t> fraction_per_million; member
124 fraction_per_million == other.fraction_per_million);
Dxds_api.cc280 if (fraction_per_million.has_value()) { in ToString()
282 fraction_per_million.value())); in ToString()
1251 route->matchers.fraction_per_million = numerator; in RouteRuntimeFractionParse()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc466 bool UnderFraction(const uint32_t fraction_per_million) { in UnderFraction() argument
469 return random_number < fraction_per_million; in UnderFraction()
486 if (entry.route.matchers.fraction_per_million.has_value() && in GetCallConfig()
487 !UnderFraction(entry.route.matchers.fraction_per_million.value())) { in GetCallConfig()