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

Method message_params

cpp/src/arrow/ipc/message_internal_test.cc:153–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 std::vector<SampleMessageParams> message_params() {
154 std::vector<SampleMessageParams> params;
155 for (const auto& options : write_options()) {
156 for (int64_t body_length : {0, 24}) {
157 params.push_back(SampleMessageParams{
158 .custom_metadata = nullptr, .body_length = body_length, .options = options});
159 params.push_back(SampleMessageParams{.custom_metadata = GetCustomMetadata(),
160 .body_length = body_length,
161 .options = options});
162 }
163 }
164 return params;
165 }
166
167 // Return the serialized metadata encapsulated in IPC framing
168 Result<std::shared_ptr<Buffer>> EncapsulateMetadata(

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected