Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/io/
Drecord_reader.cc167 int64 desired_pos = static_cast<int64>(*offset); in ReadRecord() local
168 if (curr_pos > desired_pos || curr_pos < 0 /* EOF */ || in ReadRecord()
169 (curr_pos == desired_pos && last_read_failed_)) { in ReadRecord()
172 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos)); in ReadRecord()
173 } else if (curr_pos < desired_pos) { in ReadRecord()
174 TF_RETURN_IF_ERROR(input_stream_->SkipNBytes(desired_pos - curr_pos)); in ReadRecord()
176 DCHECK_EQ(desired_pos, input_stream_->Tell()); in ReadRecord()