Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ defaultCapcity
Method
defaultCapcity
include/sonic/internal/stack.h:192–192 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
190
cap_ = 0;
191
}
192
static constexpr size_t defaultCapcity() { return 256; }
193
char* buf_{nullptr};
194
char* top_{nullptr};
195
size_t cap_{0};
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected