Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ReplaceFirst
Function · 0.45
ReplaceAll
Function · 0.45
DoRemoveLineEnding
Function · 0.45
SplitUsingStringDelimiterToIterator
Function · 0.45
SplitStringKeepEmpty
Function · 0.45
rfind
Method · 0.45
TEST
Function · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36