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

Function allocate

python/pyarrow/tests/test_cuda.py:574–577  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

572
573def test_BufferWriter():
574 def allocate(size):
575 cbuf = global_context.new_buffer(size)
576 writer = cuda.BufferWriter(cbuf)
577 return cbuf, writer
578
579 def test_writes(total_size, chunksize, buffer_size=0):
580 cbuf, writer = allocate(total_size)

Callers 2

test_writesFunction · 0.85
test_BufferWriterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected