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

Function ConsumeSuffix

tensorflow/core/platform/str_util.cc:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool ConsumeSuffix(StringPiece* s, StringPiece expected) {
112 return absl::ConsumeSuffix(s, expected);
113}
114
115// Return lower-cased version of s.
116string Lowercase(StringPiece s) { return absl::AsciiStrToLower(s); }

Callers 4

RemoveSuffixFunction · 0.85
TryStripSuffixStringFunction · 0.85
SetterForXlaAutoJitFlagFunction · 0.85
ReadAllLinesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected