Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
KeyPath
Class · 0.70
AllocedDict
Method · 0.70
Key
Method · 0.70
alloc_slice
Class · 0.70
reset
Method · 0.70
FLSliceResult
Function · 0.70
createItems
Method · 0.50
HashTreeTests.cc
File · 0.50
EncoderTests.cc
File · 0.50
MutableTests.cc
File · 0.50
FLJSON5_ToJSON
Function · 0.50
FLData_Dump
Function · 0.50
Calls
no outgoing calls
Tested by
1
createItems
Method · 0.40