Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputbuffer.cc84 uint32 compressed_block_length; in Inflate() local
85 TF_RETURN_IF_ERROR(ReadCompressedBlockLength(&compressed_block_length)); in Inflate()
88 if (avail_in_ < compressed_block_length) { in Inflate()
90 if (avail_in_ < compressed_block_length) { in Inflate()
91 if (compressed_block_length > input_buffer_capacity_) { in Inflate()
95 compressed_block_length, " bytes."); in Inflate()
98 strings::StrCat("Failed to read ", compressed_block_length, in Inflate()
105 if (!port::Snappy_GetUncompressedLength(next_in_, compressed_block_length, in Inflate()
117 bool status = port::Snappy_Uncompress(next_in_, compressed_block_length, in Inflate()
122 next_in_ += compressed_block_length; in Inflate()
[all …]
Dsnappy_inputstream.cc84 uint32 compressed_block_length; in Inflate() local
89 compressed_block_length = in Inflate()
90 (compressed_block_length << 8) | in Inflate()
95 compressed_block.resize_uninitialized(compressed_block_length); in Inflate()
98 input_stream_->ReadNBytes(compressed_block_length, &compressed_block); in Inflate()
100 return errors::DataLoss("Failed to read ", compressed_block_length, in Inflate()
107 compressed_block_length, in Inflate()
122 if (!port::Snappy_Uncompress(compressed_block.data(), compressed_block_length, in Inflate()