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

Function PaddedLength

cpp/src/arrow/ipc/feather.cc:73–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71const uint8_t kPaddingBytes[kFeatherDefaultAlignment] = {0};
72
73inline int64_t PaddedLength(int64_t nbytes) {
74 static const int64_t alignment = kFeatherDefaultAlignment;
75 return ((nbytes + alignment - 1) / alignment) * alignment;
76}
77
78Status WritePaddedWithOffset(io::OutputStream* stream, const uint8_t* data,
79 int64_t bit_offset, const int64_t length,

Callers 3

WritePaddedWithOffsetFunction · 0.70
WritePaddedBlankFunction · 0.70
GetOutputLengthMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected