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

Method AssertStreamEnd

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

Source from the content-addressed store, hash-verified

4926 }
4927
4928 void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) {
4929 struct ArrowDeviceArray c_array;
4930 ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array));
4931
4932 DeviceArrayExportGuard guard(&c_array);
4933 ASSERT_TRUE(ArrowDeviceArrayIsReleased(&c_array));
4934 }
4935
4936 void AssertStreamNext(struct ArrowDeviceArrayStream* c_stream,
4937 const RecordBatch& expected) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected