MCPcopy Create free account
hub / github.com/couchbase/fleece / newArray

Method newArray

Fleece/Mutable/MutableArray.hh:27–29  ·  view source on GitHub ↗

Creates a new array of size `initialCount` filled with null Values. */

Source from the content-addressed store, hash-verified

25
26 /** Creates a new array of size `initialCount` filled with null Values. */
27 static Retained<MutableArray> newArray(uint32_t initialCount =0) {
28 return (new internal::HeapArray(initialCount))->asMutableArray();
29 }
30
31 /** Creates a copy of `a`, or an empty array if `a` is null.
32 If `deepCopy` is true, nested mutable collections will be recursively copied too. */

Callers

nothing calls this directly

Calls 3

retainedFunction · 0.85
asMutableArrayMethod · 0.80
copyChildrenMethod · 0.45

Tested by

no test coverage detected