MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TryStripSuffixString

Function TryStripSuffixString

tensorflow/lite/toco/args.cc:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103inline bool TryStripSuffixString(absl::string_view str,
104 absl::string_view suffix, string* result) {
105 bool res = absl::ConsumeSuffix(&str, suffix);
106 result->assign(str.begin(), str.end());
107 return res;
108}
109
110} // namespace
111

Callers 1

ParseMethod · 0.85

Calls 4

ConsumeSuffixFunction · 0.85
assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected