Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ Size
Method
Size
include/sonic/internal/stack.h:45–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
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
Callers
12
find_value
Method · 0.45
GetStats
Method · 0.45
find_value
Method · 0.45
GetStats
Method · 0.45
Add100Nodes
Method · 0.45
Push100Nodes
Method · 0.45
TYPED_TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
TYPED_TEST
Function · 0.45
TEST
Function · 0.45
UpdateLazy
Function · 0.45
Calls
no outgoing calls
Tested by
7
Add100Nodes
Method · 0.36
Push100Nodes
Method · 0.36
TYPED_TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TYPED_TEST
Function · 0.36
TEST
Function · 0.36