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

Method UpdatePositionCheckAligned

cpp/src/arrow/ipc/writer.cc:1402–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400 Status UpdatePosition() { return sink_->Tell().Value(&position_); }
1401
1402 Status UpdatePositionCheckAligned() {
1403 RETURN_NOT_OK(UpdatePosition());
1404 DCHECK_EQ(0, position_ % 8) << "Stream is not aligned";
1405 return Status::OK();
1406 }
1407
1408 Status Align(int32_t alignment = kArrowIpcAlignment) {
1409 // Adds padding bytes if necessary to ensure all memory blocks are written on

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected