Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ append_to_string
Method
append_to_string
base/string/string_piece.h:167–170 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
165
}
166
167
void append_to_string(std::string* target) const {
168
if (!empty())
169
target->append(data(), size());
170
}
171
172
// Does
"this"
start with
"x"
173
bool starts_with(const StringPiece& x) const;
Callers
2
TEST
Function · 0.80
FillWithHtmlPage
Method · 0.80
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.64