MCPcopy Create free account
hub / github.com/HexHive/NASS / endsWith

Function endsWith

fans/fuzzer-engine/fuzzer-coverage/src/parcel_reader_writer.cpp:234–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234bool endsWith(const string &a, const string &b) {
235 if (b.size() > a.size())
236 return false;
237 return std::equal(a.begin() + a.size() - b.size(), a.end(), b.begin());
238}
239
240void ParcelReaderWriter::resetConstraints(string constraint) {
241 this->constraintStatus.erase(constraint);

Callers 1

resetConstraintsMethod · 0.70

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected