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

Method _format_buf

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

Source from the content-addressed store, hash-verified

1408 """
1409
1410 def _format_buf(self, bufptr):
1411 if 'String' in self.type_name:
1412 return utf8_literal(bufptr.data, bufptr.size)
1413 else:
1414 return bufptr.bytes_literal()
1415
1416 def to_string(self):
1417 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