Home | History | Annotate | Download | only in table

Lines Matching defs:Block

7 #include "table/block.h"
18 inline uint32_t Block::NumRestarts() const {
23 Block::Block(const BlockContents& contents)
40 Block::~Block() {
46 // Helper routine: decode the next block entry starting at "p",
76 class Block::Iter : public Iterator {
79 const char* const data_; // underlying block contents
85 uint32_t restart_index_; // Index of restart block in which current_ falls
193 // Linear search (within restart block) for first key >= target
221 status_ = Status::Corruption("bad entry in block");
256 Iterator* Block::NewIterator(const Comparator* cmp) {
258 return NewErrorIterator(Status::Corruption("bad block contents"));