MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_trace_index_by_key_handel

Method get_trace_index_by_key_handel

DSView/pv/sigsession.cpp:1633–1647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631 }
1632
1633 int SigSession::get_trace_index_by_key_handel(void *handel)
1634 {
1635 int dex = 0;
1636
1637 for (auto tr : _decode_traces)
1638 {
1639 if (tr->decoder()->get_key_handel() == handel)
1640 {
1641 return dex;
1642 }
1643 ++dex;
1644 }
1645
1646 return -1;
1647 }
1648
1649 void SigSession::remove_decoder(int index)
1650 {

Callers

nothing calls this directly

Calls 2

get_key_handelMethod · 0.45
decoderMethod · 0.45

Tested by

no test coverage detected