Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/
Dblock_builder.cc51 : options_(options), restarts_(), counter_(0), finished_(false) { in BlockBuilder()
53 restarts_.push_back(0); // First restart point is at offset 0 in BlockBuilder()
58 restarts_.clear(); in Reset()
59 restarts_.push_back(0); // First restart point is at offset 0 in Reset()
67 restarts_.size() * sizeof(uint32) + // Restart array in CurrentSizeEstimate()
73 CHECK_LE(restarts_.size(), std::numeric_limits<uint32_t>::max()); in Finish()
74 for (const auto r : restarts_) { in Finish()
78 core::PutFixed32(&buffer_, static_cast<uint32_t>(restarts_.size())); in Finish()
99 restarts_.push_back(static_cast<uint32_t>(buffer_.size())); in Add()
Dblock.cc91 uint32 const restarts_; // Offset of restart array (list of fixed32) member in tensorflow::table::Block::Iter
112 return core::DecodeFixed32(data_ + restarts_ + index * sizeof(uint32)); in GetRestartPoint()
128 restarts_(restarts), in Iter()
130 current_(restarts_), in Iter()
135 bool Valid() const override { return current_ < restarts_; } in Valid()
161 DecodeEntry(data_ + region_offset, data_ + restarts_, &shared, in Seek()
198 current_ = restarts_; in CorruptionError()
208 const char* limit = data_ + restarts_; // Restarts come right after data in ParseNextKey()
211 current_ = restarts_; in ParseNextKey()
Dblock_builder.h56 std::vector<uint32> restarts_; // Restart points variable