| 330 | } |
| 331 | |
| 332 | bool BfAtomComposite::EndsWith(const BfAtomComposite& other) const |
| 333 | { |
| 334 | int ofs = mSize - other.mSize; |
| 335 | if (ofs < 0) |
| 336 | return false; |
| 337 | |
| 338 | for (int i = 0; i < other.mSize; i++) |
| 339 | if (mParts[i + ofs] != other.mParts[i]) |
| 340 | return false; |
| 341 | return true; |
| 342 | } |
| 343 | |
| 344 | BfAtomComposite BfAtomComposite::GetSub(int start, int len) const |
| 345 | { |
no outgoing calls
no test coverage detected