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

Function new_tail_cell

src/backend/nodes/list.c:319–326  ·  view source on GitHub ↗

* Make room for a new tail cell in the given (non-NIL) list. * * The data in the new tail cell is undefined; the caller should be * sure to fill it in */

Source from the content-addressed store, hash-verified

317 * sure to fill it in
318 */
319static void
320new_tail_cell(List *list)
321{
322 /* Enlarge array if necessary */
323 if (list->length >= list->max_length)
324 enlarge_list(list, list->length + 1);
325 list->length++;
326}
327
328/*
329 * Append a pointer to the list. A pointer to the modified list is

Callers 3

lappendFunction · 0.85
lappend_intFunction · 0.85
lappend_oidFunction · 0.85

Calls 1

enlarge_listFunction · 0.85

Tested by

no test coverage detected