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

Method AssertStreamEnd

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

Source from the content-addressed store, hash-verified

4859 }
4860
4861 void AssertStreamEnd(struct ArrowDeviceArrayStream* c_stream) {
4862 struct ArrowDeviceArray c_array;
4863 ASSERT_EQ(0, c_stream->get_next(c_stream, &c_array));
4864
4865 DeviceArrayExportGuard guard(&c_array);
4866 ASSERT_TRUE(ArrowDeviceArrayIsReleased(&c_array));
4867 }
4868
4869 void AssertStreamNext(struct ArrowDeviceArrayStream* c_stream,
4870 const RecordBatch& expected) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected