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

Method _format_buf

cpp/gdb_arrow.py:1393–1397  ·  view source on GitHub ↗
(self, bufptr)

Source from the content-addressed store, hash-verified

1391 """
1392
1393 def _format_buf(self, bufptr):
1394 if 'String' in self.type_name:
1395 return utf8_literal(bufptr.data, bufptr.size)
1396 else:
1397 return bufptr.bytes_literal()
1398
1399 def to_string(self):
1400 if not self.is_valid:

Callers 2

to_stringMethod · 0.95
to_stringMethod · 0.80

Calls 2

utf8_literalFunction · 0.85
bytes_literalMethod · 0.45

Tested by

no test coverage detected