MCPcopy 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_TESTFunction · 0.45
TESTFunction · 0.45
CreateMapMethod · 0.45
DNodeClass · 0.45
addMemberImplMethod · 0.45

Calls

no outgoing calls

Tested by 2

TYPED_TESTFunction · 0.36
TESTFunction · 0.36