Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ Clear
Method
Clear
include/sonic/internal/stack.h:68–68 ·
view source on GitHub ↗
* @brief Erases all contexts in the buffer. */
Source
from the content-addressed store, hash-verified
66
* @brief Erases all contexts in the buffer.
67
*/
68
sonic_force_inline void Clear() { top_ = buf_; }
69
70
/**
71
* @brief Push a value into buffer
Callers
3
TYPED_TEST
Function · 0.45
TYPED_TEST
Function · 0.45
SonicError SerializeImpl
Function · 0.45
Calls
no outgoing calls
Tested by
2
TYPED_TEST
Function · 0.36
TYPED_TEST
Function · 0.36