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

Function PastSubstr

tensorflow/lite/delegates/gpu/gl/compiler/preprocessor.cc:43–45  ·  view source on GitHub ↗

For the given 's' and its substring 'subs' returns new substring of 's' that begins past 'subs'.

Source from the content-addressed store, hash-verified

41// For the given 's' and its substring 'subs' returns new substring of 's' that
42// begins past 'subs'.
43absl::string_view PastSubstr(absl::string_view s, absl::string_view subs) {
44 return s.substr(subs.data() + subs.size() - s.data());
45}
46
47} // namespace
48

Callers 1

RewriteMethod · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected