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

Function ArrowDeviceArrayMove

cpp/src/arrow/c/helpers.h:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96inline void ArrowDeviceArrayMove(struct ArrowDeviceArray* src,
97 struct ArrowDeviceArray* dest) {
98 assert(dest != src);
99 assert(!ArrowDeviceArrayIsReleased(src));
100 memcpy(dest, src, sizeof(struct ArrowDeviceArray));
101 ArrowDeviceArrayMarkReleased(src);
102}
103
104/// Release the C array, if necessary, by calling its release callback
105inline void ArrowArrayRelease(struct ArrowArray* array) {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected