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

Function PaddedLength

cpp/src/arrow/ipc/util.h:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34static constexpr uint8_t kPaddingBytes[kArrowAlignment] = {0};
35
36static inline int64_t PaddedLength(int64_t nbytes, int32_t alignment = kArrowAlignment) {
37 return ((nbytes + alignment - 1) / alignment) * alignment;
38}
39
40} // namespace ipc
41} // namespace arrow

Callers 8

AlignStreamFunction · 0.70
WriteMessageFunction · 0.70
MakeSparseTensorIndexCSFFunction · 0.70
GetTruncatedBitmapFunction · 0.70
GetTruncatedBufferFunction · 0.70
VisitMethod · 0.70
GetPayloadSizeFunction · 0.70
AlignMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected