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

Method swap

cpp/src/arrow/acero/asof_join_node.cc:289–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287#endif
288
289 void swap(MemoStore& memo) {
290#ifndef NDEBUG
291 std::swap(node_, memo.node_);
292 std::swap(index_, memo.index_);
293#endif
294 std::swap(no_future_, memo.no_future_);
295 std::swap(current_time_, memo.current_time_);
296 entries_.swap(memo.entries_);
297 future_entries_.swap(memo.future_entries_);
298 times_.swap(memo.times_);
299 }
300
301 // Updates the current time to `ts` if it is less. Returns true if updated.
302 bool UpdateTime(OnType ts) {

Callers 6

MaybeMergeNumericTypesFunction · 0.45
MaybeMergeBinaryTypesFunction · 0.45
RehashMethod · 0.45
SpscQueueThroughputFunction · 0.45

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected