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

Function VerifyMessage

cpp/src/arrow/ipc/metadata_internal.h:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static inline Status VerifyMessage(const uint8_t* data, int64_t size,
186 const flatbuf::Message** out) {
187 if (!VerifyFlatbuffers<flatbuf::Message>(data, size)) {
188 return Status::IOError("Invalid flatbuffers message.");
189 }
190 *out = flatbuf::GetMessage(data);
191 return Status::OK();
192}
193
194// Serialize arrow::Schema as a Flatbuffer
195ARROW_EXPORT

Callers 11

ReadRecordBatchInternalFunction · 0.85
ReadDictionaryFunction · 0.85
CountRowsMethod · 0.85
GetFlatbufMessageMethod · 0.85
ReadSparseTensorMetadataFunction · 0.85
OpenMethod · 0.85
VerifyMethod · 0.85
ReadFieldsSubsetFunction · 0.85
GetTensorMetadataFunction · 0.85
GetSparseTensorMetadataFunction · 0.85

Calls 3

IOErrorFunction · 0.85
GetMessageFunction · 0.85
OKFunction · 0.50

Tested by

no test coverage detected