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

Function garrow_buffer_get_capacity

c_glib/arrow-glib/buffer.cpp:273–278  ·  view source on GitHub ↗

* garrow_buffer_get_capacity: * @buffer: A #GArrowBuffer. * * Returns: The number of bytes that where allocated for the buffer in * total. * * Since: 0.3.0 */

Source from the content-addressed store, hash-verified

271 * Since: 0.3.0
272 */
273gint64
274garrow_buffer_get_capacity(GArrowBuffer *buffer)
275{
276 auto arrow_buffer = garrow_buffer_get_raw(buffer);
277 return arrow_buffer->capacity();
278}
279
280/**
281 * garrow_buffer_get_data:

Callers

nothing calls this directly

Calls 2

garrow_buffer_get_rawFunction · 0.85
capacityMethod · 0.45

Tested by

no test coverage detected