Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Ddynamic_range_impl.cu25 const int64_t max_output_size) { in ValidateInputAndInferShape() argument
57 if (real_output_shape > max_output_size) { in ValidateInputAndInferShape()
66 const int64_t max_output_size) { in Range() argument
79 const int64_t max_output_size, cudaStream_t cuda_stream) { in CudaValidateInputAndInferShape() argument
81 max_output_size); in CudaValidateInputAndInferShape()
86 … DynamicRangeErrorCode *error_code, const int64_t max_output_size, cudaStream_t cuda_stream) { in CalRange() argument
87 …Range<<<GET_BLOCKS(max_output_size), GET_THREADS, 0, cuda_stream>>>(range_start, range_end, range_… in CalRange()
88 … output, output_shape, max_output_size); in CalRange()
93 … const int64_t max_output_size, cudaStream_t cuda_stream);
96 … DynamicRangeErrorCode *error_code, const int64_t max_output_size,
[all …]
Ddynamic_range_impl.cuh33 const int64_t max_output_size, cudaStream_t cuda_stream);
37 … DynamicRangeErrorCode *error_code, const int64_t max_output_size, cudaStream_t cuda_stream);
/third_party/grpc/src/core/lib/compression/
Dstream_compression_identity.cc36 size_t max_output_size) { in grpc_stream_compression_pass_through() argument
37 if (max_output_size >= in->length) { in grpc_stream_compression_pass_through()
44 *output_size = max_output_size; in grpc_stream_compression_pass_through()
46 grpc_slice_buffer_move_first(in, max_output_size, out); in grpc_stream_compression_pass_through()
52 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_compress_identity() argument
57 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_compress_identity()
63 grpc_slice_buffer* out, size_t* output_size, size_t max_output_size, in grpc_stream_decompress_identity() argument
68 grpc_stream_compression_pass_through(in, out, output_size, max_output_size); in grpc_stream_decompress_identity()
Dstream_compression_gzip.cc39 size_t* output_size, size_t max_output_size, int flush, in gzip_flate() argument
48 size_t original_max_output_size = max_output_size; in gzip_flate()
49 while (max_output_size > 0 && (in->length > 0 || flush) && !eoc) { in gzip_flate()
50 size_t slice_size = max_output_size < OUTPUT_BLOCK_SIZE ? max_output_size in gzip_flate()
125 max_output_size -= (slice_size - ctx->zs.avail_out); in gzip_flate()
132 *output_size = original_max_output_size - max_output_size; in gzip_flate()
141 size_t max_output_size, in grpc_stream_compress_gzip() argument
163 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, gzip_flush, in grpc_stream_compress_gzip()
171 size_t max_output_size, in grpc_stream_decompress_gzip() argument
179 return gzip_flate(gzip_ctx, in, out, output_size, max_output_size, in grpc_stream_decompress_gzip()
Dstream_compression.cc32 size_t* output_size, size_t max_output_size, in grpc_stream_compress() argument
34 return ctx->vtable->compress(ctx, in, out, output_size, max_output_size, in grpc_stream_compress()
40 size_t* output_size, size_t max_output_size, in grpc_stream_decompress() argument
42 return ctx->vtable->decompress(ctx, in, out, output_size, max_output_size, in grpc_stream_decompress()
Dstream_compression.h56 size_t max_output_size, grpc_stream_compression_flush flush);
59 size_t* output_size, size_t max_output_size,
81 size_t* output_size, size_t max_output_size,
93 size_t* output_size, size_t max_output_size,
/third_party/grpc/test/core/compression/
Dstream_compression_test.cc112 size_t max_output_size = 2; in test_stream_compression_simple_compress_decompress_with_output_size_constraint() local
114 max_output_size, &end_of_context)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
115 GPR_ASSERT(output_size == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
119 GPR_ASSERT(GRPC_SLICE_LENGTH(slice_recv) == max_output_size); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
120 GPR_ASSERT(0 == strncmp(test_str, str_recv, max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
123 size_t remaining_size = sizeof(test_str) - 1 - max_output_size; in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
129 GPR_ASSERT(slice_buffer_equals_string(&sink, test_str + max_output_size)); in test_stream_compression_simple_compress_decompress_with_output_size_constraint()
/third_party/boost/boost/nowide/
Dstackstring.hpp117 … const size_t max_output_size = input_len * utf::utf_traits<output_char>::max_width + 1; in convert() local
118 data_ = new output_char[max_output_size]; in convert()
119 … const bool success = utf::convert_buffer(data_, max_output_size, begin, end) == data_; in convert()