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

Method AssertStreamEnd

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

Source from the content-addressed store, hash-verified

4918 }
4919
4920 void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) {
4921 struct ArrowDeviceArray c_array;
4922 ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array));
4923
4924 DeviceArrayExportGuard guard(&c_array);
4925 ASSERT_TRUE(ArrowDeviceArrayIsReleased(&c_array));
4926 }
4927
4928 void AssertStreamNext(struct ArrowDeviceArrayStream* c_stream,
4929 const RecordBatch& expected) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected