MCPcopy 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

AdjustOffsetsMethod · 0.45
UnadjustOffsetsMethod · 0.45
SplitStringTFunction · 0.45
front_char_or_0Function · 0.45
back_char_or_0Function · 0.45
TrimStringTFunction · 0.45
JoinStringTFunction · 0.45
GetNextMethod · 0.45
CopyToStringTFunction · 0.45
AppendToStringTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected