Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/bolt
/ StringView
Method
StringView
bolt/type/StringView.h:68–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
static constexpr size_t kInlineSize = 12;
67
68
StringView() {
69
static_assert(sizeof(StringView) == 16);
70
memset(this, 0, sizeof(StringView));
71
}
72
73
StringView(const char* data, int32_t len) {
74
set(data, len);
Callers
1
createStringViewArray
Function · 0.45
Calls
3
memset
Function · 0.85
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected