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

Method getCounterLoopIdx

fans/fuzzer-engine/fuzzer/src/parcel_reader_writer.cpp:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478int32_t ParcelReaderWriter::getCounterLoopIdx(string counterName) {
479 for (uint32_t i = 0; i < loop.size(); ++i) {
480 if (loop[i]["counter"]["name"].asString() == counterName) {
481 return i;
482 }
483 }
484 return -1;
485}
486
487uint32_t ParcelReaderWriter::getConstraintIdx(string constraintName) {
488 for (uint32_t i = 0; i < constraint.size(); ++i) {

Callers 1

checkMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected