MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getBuffer

Method getBuffer

src/common/classes/array.h:405–410  ·  view source on GitHub ↗

prepare array to be used as a buffer of capacity items

Source from the content-addressed store, hash-verified

403
404 // prepare array to be used as a buffer of capacity items
405 T* getBuffer(const size_type capacityL, bool preserve = true)
406 {
407 ensureCapacity(capacityL, preserve);
408 count = capacityL;
409 return data;
410 }
411
412 // prepare array to be used as a buffer of capacity bytes aligned on given alignment
413 T* getAlignedBuffer(const size_type capacityL, const size_type alignL)

Callers 15

toLowerMethod · 0.45
toUpperMethod · 0.45
unicodeStrToKeyFunction · 0.45
unicodeCompareFunction · 0.45
unicodeCanonicalFunction · 0.45
checkServerUsersVersionFunction · 0.45
utf8NormalizeMethod · 0.45
normalizeMethod · 0.45
allocFileSpaceFunction · 0.45
getMappedFileNameFunction · 0.45
ISC_get_userFunction · 0.45
lengthMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected