Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ Capacity
Method
Capacity
include/sonic/internal/stack.h:46–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
45
sonic_force_inline size_t Size() const { return top_ - buf_; }
46
sonic_force_inline size_t Capacity() const { return cap_; }
47
sonic_force_inline bool Empty() const { return Size() == 0; }
48
49
/**
Callers
5
TYPED_TEST
Function · 0.45
TEST
Function · 0.45
CreateMap
Method · 0.45
DNode
Class · 0.45
addMemberImpl
Method · 0.45
Calls
no outgoing calls
Tested by
2
TYPED_TEST
Function · 0.36
TEST
Function · 0.36