Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_posix.cc81 double bytes_read_this_round; member
272 tcp->bytes_read_this_round += static_cast<double>(bytes); in add_to_estimate()
279 if (tcp->bytes_read_this_round > tcp->target_length * 0.8) { in finish_estimate()
281 GPR_MAX(2 * tcp->target_length, tcp->bytes_read_this_round); in finish_estimate()
284 0.99 * tcp->target_length + 0.01 * tcp->bytes_read_this_round; in finish_estimate()
286 tcp->bytes_read_this_round = 0; in finish_estimate()
1058 tcp->bytes_read_this_round = 0; in grpc_tcp_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_posix.cc365 double bytes_read_this_round; member
572 tcp->bytes_read_this_round += static_cast<double>(bytes); in add_to_estimate()
579 if (tcp->bytes_read_this_round > tcp->target_length * 0.8) { in finish_estimate()
581 GPR_MAX(2 * tcp->target_length, tcp->bytes_read_this_round); in finish_estimate()
584 0.99 * tcp->target_length + 0.01 * tcp->bytes_read_this_round; in finish_estimate()
586 tcp->bytes_read_this_round = 0; in finish_estimate()
1784 tcp->bytes_read_this_round = 0; in grpc_tcp_create()