Home
last modified time | relevance | path

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

/leveldb-1.20/table/
H A Dformat.cc76 char* buf = new char[n + kBlockTrailerSize]; in ReadBlock()
78 Status s = file->Read(handle.offset(), n + kBlockTrailerSize, &contents, buf); in ReadBlock()
83 if (contents.size() != n + kBlockTrailerSize) { in ReadBlock()
H A Dtable_builder.cc183 char trailer[kBlockTrailerSize]; in WriteRawBlock()
188 r->status = r->file->Append(Slice(trailer, kBlockTrailerSize)); in WriteRawBlock()
190 r->offset += block_contents.size() + kBlockTrailerSize; in WriteRawBlock()
H A Dformat.h84 static const size_t kBlockTrailerSize = 5; variable