MCPcopy Create free account
hub / github.com/chen3feng/toft / empty

Method empty

base/string/string_piece.h:103–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 size_t size() const { return m_length; }
102 size_t length() const { return m_length; }
103 bool empty() const { return m_length == 0; }
104
105 void clear() {
106 m_ptr = NULL;

Callers 7

ReplaceFirstFunction · 0.45
ReplaceAllFunction · 0.45
DoRemoveLineEndingFunction · 0.45
SplitStringKeepEmptyFunction · 0.45
rfindMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36