Home
last modified time | relevance | path

Searched refs:target_length (Results 1 – 7 of 7) sorted by relevance

/external/python/rsa/rsa/
Dpkcs1.py84 def _pad_for_encryption(message: bytes, target_length: int) -> bytes:
99 max_msglength = target_length - 11
108 padding_length = target_length - msglength - 3
130 def _pad_for_signing(message: bytes, target_length: int) -> bytes:
149 max_msglength = target_length - 11
156 padding_length = target_length - msglength - 3
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_posix.cc80 double target_length; member
279 if (tcp->bytes_read_this_round > tcp->target_length * 0.8) { in finish_estimate()
280 tcp->target_length = in finish_estimate()
281 GPR_MAX(2 * tcp->target_length, tcp->bytes_read_this_round); in finish_estimate()
283 tcp->target_length = in finish_estimate()
284 0.99 * tcp->target_length + 0.01 * tcp->bytes_read_this_round; in finish_estimate()
293 tcp->target_length * (pressure > 0.8 ? (1.0 - pressure) / 0.2 : 1.0); in get_target_read_size()
1055 tcp->target_length = static_cast<double>(tcp_read_chunk_size); in grpc_tcp_create()
/external/zstd/contrib/linux-kernel/
Dlinux_zstd.h104 unsigned int target_length; member
Dzstd_compress_module.c36 offsetof(struct zstd_compression_parameters, target_length)); in zstd_check_structs()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_posix.cc364 double target_length; member
579 if (tcp->bytes_read_this_round > tcp->target_length * 0.8) { in finish_estimate()
580 tcp->target_length = in finish_estimate()
581 GPR_MAX(2 * tcp->target_length, tcp->bytes_read_this_round); in finish_estimate()
583 tcp->target_length = in finish_estimate()
584 0.99 * tcp->target_length + 0.01 * tcp->bytes_read_this_round; in finish_estimate()
593 tcp->target_length * (pressure > 0.8 ? (1.0 - pressure) / 0.2 : 1.0); in get_target_read_size()
1781 tcp->target_length = static_cast<double>(tcp_read_chunk_size); in grpc_tcp_create()
/external/grpc-grpc/src/php/ext/grpc/
Dchannel.c302 php_grpc_int target_length; in PHP_METHOD() local
314 &target_length, &args_array) == FAILURE) { in PHP_METHOD()
380 php_grpc_int key_len = target_length + strlen(sha1str); in PHP_METHOD()
/external/libchrome/base/files/
Dfile_util_unittest.cc437 int target_length = MAX_PATH; in TEST_F() local
438 target_length -= (sub_a.value().length() + 1); // +1 for the sepperator '\'. in TEST_F()
439 target_length -= (sub_long_rel.Append(deep_txt).value().length() + 1); in TEST_F()
444 target_length -= kCreateDirLimit; in TEST_F()
446 long_name_str.resize(target_length, '_'); in TEST_F()