| 247 | } |
| 248 | |
| 249 | bool ends_with(StringPiece x) const { |
| 250 | return ((length_ >= x.length_) && |
| 251 | (memcmp(ptr_ + (length_-x.length_), x.ptr_, x.length_) == 0)); |
| 252 | } |
| 253 | |
| 254 | // standard STL container boilerplate |
| 255 | typedef char value_type; |
no outgoing calls
no test coverage detected