Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/graph-learn
/ clear
Method
clear
graphlearn/src/common/string/lite_string.h:76–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
}
75
76
void clear() {
77
data_ =
""
;
78
size_ = 0;
79
}
80
81
void remove_prefix(size_t n) {
82
assert(n <= size());
Callers
15
stop
Method · 0.45
Clear
Method · 0.45
Clear
Method · 0.45
ListFiles
Method · 0.45
SampleAndFill
Method · 0.45
SampleAndFill
Method · 0.45
SampleAndFill
Method · 0.45
Fill
Method · 0.45
Fill
Method · 0.45
Build
Method · 0.45
Fake
Method · 0.45
Stitch
Method · 0.45
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.36