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

Function allocate

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

Source from the content-addressed store, hash-verified

564
565def test_BufferWriter():
566 def allocate(size):
567 cbuf = global_context.new_buffer(size)
568 writer = cuda.BufferWriter(cbuf)
569 return cbuf, writer
570
571 def test_writes(total_size, chunksize, buffer_size=0):
572 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