MCPcopy Create free account
hub / github.com/arkdb/inception / realloc

Method realloc

sql/sql_string.cc:82–112  ·  view source on GitHub ↗

Allocates a new buffer on the heap for this String. - If the String's internal buffer is privately owned and heap allocated, one of the following is performed. - If the requested length is greater than what fits in the buffer, a new buffer is allocated, data moved and the old buffer freed. - If the requested length is less or equal to what fits in the buffer, a n

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

copy_if_not_allocedFunction · 0.45

Calls 2

my_reallocFunction · 0.85
my_mallocFunction · 0.85

Tested by

no test coverage detected