This test comes from EdgeCases in cuda-test.cc. Added reference. My interpretation of `num_bytes_buffered == 0` is that all preceding writes fulfill the buffer so that the `write` always triggers flush. Non-zero would indicate that flush is not triggered.
[ Full content available at: https://github.com/apache/arrow/pull/2536 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org