MCPcopy Create free account
hub / github.com/apache/arrow / ExtendFrom

Method ExtendFrom

cpp/src/arrow/array/diff.cc:403–409  ·  view source on GitHub ↗

increment the position within base and target (the elements skipped in this way were present in both sequences)

Source from the content-addressed store, hash-verified

401 // increment the position within base and target (the elements skipped in this way were
402 // present in both sequences)
403 EditPoint ExtendFrom(EditPoint p) const {
404 const int64_t run_length_of_equals =
405 _comparator->RunLengthOfEqualsFrom(p.base, base_end_, p.target, target_end_);
406 p.base += run_length_of_equals;
407 p.target += run_length_of_equals;
408 return p;
409 }
410
411 // beginning of a range for storing per-edit state in endpoint_base_ and insert_
412 int64_t StorageOffset(int64_t edit_count) const {

Callers

nothing calls this directly

Calls 1

RunLengthOfEqualsFromMethod · 0.45

Tested by

no test coverage detected