Home | History | Annotate | Download | only in io

Lines Matching defs:Block

18 #include "tensorflow/core/lib/io/block.h"
29 inline uint32 Block::NumRestarts() const {
34 Block::Block(const BlockContents& contents)
51 Block::~Block() {
57 // Helper routine: decode the next block entry starting at "p",
88 class Block::Iter : public Iterator {
90 const char* const data_; // underlying block contents
96 uint32 restart_index_; // Index of restart block in which current_ falls
179 // Linear search (within restart block) for first key >= target
200 status_ = errors::DataLoss("bad entry in block");
235 Iterator* Block::NewIterator() {
237 return NewErrorIterator(errors::DataLoss("bad block contents"));