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

Method FillStructLike

cpp/src/arrow/c/bridge_test.cc:2721–2730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2719 }
2720
2721 void FillStructLike(struct ArrowArray* c, int64_t length, int64_t null_count,
2722 int64_t offset, int64_t n_children, const void** buffers) {
2723 c->length = length;
2724 c->null_count = null_count;
2725 c->offset = offset;
2726 c->n_buffers = 1;
2727 c->buffers = buffers;
2728 c->n_children = n_children;
2729 c->children = NLastChildren(c->n_children, c);
2730 }
2731
2732 // `legacy` selects pre-ARROW-14179 behaviour
2733 void FillUnionLike(struct ArrowArray* c, UnionMode::type mode, int64_t length,

Callers 1

TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected