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

Function RemoveSuffix

tensorflow/contrib/android/asset_manager_filesystem.cc:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace {
26
27string RemoveSuffix(const string& name, const string& suffix) {
28 string output(name);
29 StringPiece piece(output);
30 absl::ConsumeSuffix(&piece, suffix);
31 return string(piece);
32}
33
34// Closes the given AAsset when variable is destructed.
35class ScopedAsset {

Callers 1

Calls 1

ConsumeSuffixFunction · 0.85

Tested by

no test coverage detected