MCPcopy Create free account
hub / github.com/apache/cloudberry / array_nelems_size

Function array_nelems_size

src/backend/utils/adt/arrayfuncs.c:4803–4809  ·  view source on GitHub ↗

* Compute total size of the nitems array elements starting at *ptr * * Parameters same as for array_seek */

Source from the content-addressed store, hash-verified

4801 * Parameters same as for array_seek
4802 */
4803static int
4804array_nelems_size(char *ptr, int offset, bits8 *nullbitmap, int nitems,
4805 int typlen, bool typbyval, char typalign)
4806{
4807 return array_seek(ptr, offset, nullbitmap, nitems,
4808 typlen, typbyval, typalign) - ptr;
4809}
4810
4811/*
4812 * Copy nitems array elements from srcptr to destptr

Callers 2

array_set_sliceFunction · 0.85
array_copyFunction · 0.85

Calls 1

array_seekFunction · 0.85

Tested by

no test coverage detected