MCPcopy Create free account
hub / github.com/bytedance/bolt / atEnd

Method atEnd

bolt/exec/SpillFile.h:275–281  ·  view source on GitHub ↗

True if all of the file has been read into vectors.

Source from the content-addressed store, hash-verified

273 }
274 /// True if all of the file has been read into vectors.
275 bool atEnd() const override {
276 if (spillUringEnabled_ && file_->uringEnabled()) {
277 return completed_ >= size_ && ranges()[0].position >= ranges()[0].size;
278 } else {
279 return offset_ >= size_ && ranges()[0].position >= ranges()[0].size;
280 }
281 }
282
283 void reuse() {
284 offset_ = 0;

Callers 8

nextBatchMethod · 0.45
nextMethod · 0.45
readMethod · 0.45
deserializeMethod · 0.45
getOutputMethod · 0.45
evalFilterMethod · 0.45
getOutputMethod · 0.45

Calls 1

uringEnabledMethod · 0.45

Tested by

no test coverage detected