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

Function ConsumePrefix

tensorflow/core/platform/str_util.cc:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool ConsumePrefix(StringPiece* s, StringPiece expected) {
108 return absl::ConsumePrefix(s, expected);
109}
110
111bool ConsumeSuffix(StringPiece* s, StringPiece expected) {
112 return absl::ConsumeSuffix(s, expected);

Callers 15

TESTFunction · 0.70
ParsePathMethod · 0.70
MatchFunction · 0.70
_ParseOSSURIPathMethod · 0.50
NodeNamePartsFromInputFunction · 0.50
RemoveAssetPrefixMethod · 0.50
InferSourceFileNameFunction · 0.50
GenEagerPythonOpMethod · 0.50
TryStripPrefixStringFunction · 0.50
WordWrapFunction · 0.50
ConsumeEqualsFunction · 0.50
StartsWithFieldNameFunction · 0.50

Calls

no outgoing calls

Tested by 7

TESTFunction · 0.56
ParsePathMethod · 0.56
MatchFunction · 0.56
ColocationGroupMethod · 0.40
TESTFunction · 0.40
TypesOfMethod · 0.40