Home
last modified time | relevance | path

Searched refs:kBlockTrailerSize (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/lib/io/
Dformat.cc90 if (kBlockTrailerSize > std::numeric_limits<size_t>::max() - n) { in ReadBlock()
94 char* buf = new char[n + kBlockTrailerSize]; in ReadBlock()
96 Status s = file->Read(handle.offset(), n + kBlockTrailerSize, &contents, buf); in ReadBlock()
101 if (contents.size() != n + kBlockTrailerSize) { in ReadBlock()
Dtable_builder.cc208 char trailer[kBlockTrailerSize]; in WriteRawBlock()
213 r->status = r->file->Append(StringPiece(trailer, kBlockTrailerSize)); in WriteRawBlock()
215 r->offset += block_contents.size() + kBlockTrailerSize; in WriteRawBlock()
Dformat.h89 static const size_t kBlockTrailerSize = 5; variable