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

Function test_buffer_stack

python/pyarrow/tests/test_gdb.py:269–278  ·  view source on GitHub ↗
(gdb_arrow)

Source from the content-addressed store, hash-verified

267
268
269def test_buffer_stack(gdb_arrow):
270 check_stack_repr(gdb_arrow, "buffer_null",
271 "arrow::Buffer of size 0, read-only")
272 check_stack_repr(gdb_arrow, "buffer_abc",
273 'arrow::Buffer of size 3, read-only, "abc"')
274 check_stack_repr(
275 gdb_arrow, "buffer_special_chars",
276 r'arrow::Buffer of size 12, read-only, "foo\"bar\000\r\n\t\037"')
277 check_stack_repr(gdb_arrow, "buffer_mutable",
278 'arrow::MutableBuffer of size 3, mutable, "abc"')
279
280
281def test_buffer_heap(gdb_arrow):

Callers

nothing calls this directly

Calls 1

check_stack_reprFunction · 0.85

Tested by

no test coverage detected