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

Function alloc_slice

API/fleece/slice.hh:788–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786
787
788 __hot
789 inline alloc_slice::alloc_slice(size_t sz)
790 :alloc_slice(FLSliceResult_New(sz))
791 {
792 if (_usuallyFalse(!buf))
793 failBadAlloc();
794 }
795
796
797 __hot

Callers 15

KeyPathClass · 0.70
AllocedDictMethod · 0.70
KeyMethod · 0.70
alloc_sliceClass · 0.70
resetMethod · 0.70
FLSliceResultFunction · 0.70
createItemsMethod · 0.50
HashTreeTests.ccFile · 0.50
EncoderTests.ccFile · 0.50
MutableTests.ccFile · 0.50
FLJSON5_ToJSONFunction · 0.50
FLData_DumpFunction · 0.50

Calls

no outgoing calls

Tested by 1

createItemsMethod · 0.40