Searched refs:kBlockTrailerSize (Results 1 – 3 of 3) sorted by relevance
90 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()
208 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()
89 static const size_t kBlockTrailerSize = 5; variable