Home
last modified time | relevance | path

Searched refs:BlockHandle (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dformat.h33 class BlockHandle {
35 BlockHandle();
63 const BlockHandle& metaindex_handle() const { return metaindex_handle_; } in metaindex_handle()
64 void set_metaindex_handle(const BlockHandle& h) { metaindex_handle_ = h; } in set_metaindex_handle()
67 const BlockHandle& index_handle() const { return index_handle_; } in index_handle()
68 void set_index_handle(const BlockHandle& h) { index_handle_ = h; } in set_index_handle()
76 enum { kEncodedLength = 2 * BlockHandle::kMaxEncodedLength + 8 };
79 BlockHandle metaindex_handle_;
80 BlockHandle index_handle_;
99 extern Status ReadBlock(RandomAccessFile* file, const BlockHandle& handle,
[all …]
Dtable_builder.h36 class BlockHandle; variable
84 void WriteBlock(BlockBuilder* block, BlockHandle* handle);
86 BlockHandle* handle);
Dformat.cc30 void BlockHandle::EncodeTo(string* dst) const { in EncodeTo()
38 Status BlockHandle::DecodeFrom(StringPiece* input) { in DecodeFrom()
52 dst->resize(2 * BlockHandle::kMaxEncodedLength); // Padding in EncodeTo()
80 Status ReadBlock(RandomAccessFile* file, const BlockHandle& handle, in ReadBlock()
Dtable_builder.cc92 BlockHandle pending_handle; // Handle to add to index block
165 void TableBuilder::WriteBlock(BlockBuilder* block, BlockHandle* handle) { in WriteBlock()
202 CompressionType type, BlockHandle* handle) { in WriteRawBlock()
228 BlockHandle metaindex_block_handle, index_block_handle; in Finish()
Dtable.cc37 BlockHandle metaindex_handle; // Handle to metaindex_block: saved from footer
100 BlockHandle handle; in BlockReader()
156 BlockHandle handle; in ApproximateOffsetOf()
Dtable.h28 class BlockHandle; variable