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

Function garrow_uint16_array_get_value

c_glib/arrow-glib/basic-array.cpp:1805–1810  ·  view source on GitHub ↗

* garrow_uint16_array_get_value: * @array: A #GArrowUInt16Array. * @i: The index of the target value. * * Returns: The @i-th value. */

Source from the content-addressed store, hash-verified

1803 * Returns: The @i-th value.
1804 */
1805guint16
1806garrow_uint16_array_get_value(GArrowUInt16Array *array, gint64 i)
1807{
1808 auto arrow_array = garrow_array_get_raw(GARROW_ARRAY(array));
1809 return static_cast<arrow::UInt16Array *>(arrow_array.get())->Value(i);
1810}
1811
1812/**
1813 * garrow_uint16_array_get_values:

Callers

nothing calls this directly

Calls 3

garrow_array_get_rawFunction · 0.70
ValueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected