MCPcopy 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_valueMethod · 0.45
GetStatsMethod · 0.45
find_valueMethod · 0.45
GetStatsMethod · 0.45
Add100NodesMethod · 0.45
Push100NodesMethod · 0.45
TYPED_TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TYPED_TESTFunction · 0.45
TESTFunction · 0.45
UpdateLazyFunction · 0.45

Calls

no outgoing calls

Tested by 7

Add100NodesMethod · 0.36
Push100NodesMethod · 0.36
TYPED_TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TYPED_TESTFunction · 0.36
TESTFunction · 0.36