MCPcopy Create free account
hub / github.com/apache/impala / HasSuffixString

Function HasSuffixString

be/src/gutil/strings/util.h:177–180  ·  view source on GitHub ↗

Returns whether str ends with suffix.

Source from the content-addressed store, hash-verified

175
176// Returns whether str ends with suffix.
177inline bool HasSuffixString(const StringPiece& str,
178 const StringPiece& suffix) {
179 return str.ends_with(suffix);
180}
181
182// Returns true if the string passed in matches the pattern. The pattern
183// string can contain wildcards like * and ?

Callers 6

TEST_FFunction · 0.85
AssertLogCountMethod · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
IsTrustedDomainFunction · 0.85

Calls 1

ends_withMethod · 0.80

Tested by 5

TEST_FFunction · 0.68
AssertLogCountMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68