Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ empty
Method
empty
src/butil/strings/string_piece.h:211–211 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
209
size_type size() const { return length_; }
210
size_type length() const { return length_; }
211
bool empty() const { return length_ == 0; }
212
213
void clear() {
214
ptr_ = NULL;
Callers
15
AdjustOffsets
Method · 0.45
UnadjustOffsets
Method · 0.45
SplitStringT
Function · 0.45
SplitStringIntoKeyValuePairsT
Function · 0.45
front_char_or_0
Function · 0.45
back_char_or_0
Function · 0.45
TrimStringT
Function · 0.45
DoReplaceSubstringsAfterOffset
Function · 0.45
JoinStringT
Function · 0.45
GetNext
Method · 0.45
CopyToStringT
Function · 0.45
AppendToStringT
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected