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

Method GetOutputLength

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

Source from the content-addressed store, hash-verified

252 }
253
254 int64_t GetOutputLength(int64_t nbytes) {
255 // XXX: Hack for Feather 0.3.0 for backwards compatibility with old files
256 // Size in-file of written byte buffer
257 if (version() < 2) {
258 // Feather files < 0.3.0
259 return nbytes;
260 } else {
261 return PaddedLength(nbytes);
262 }
263 }
264
265 // Retrieve a primitive array from the data source
266 //

Callers

nothing calls this directly

Calls 2

PaddedLengthFunction · 0.70
versionFunction · 0.50

Tested by

no test coverage detected