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

Method free_decode_lpb

DSView/pv/data/logicsnapshot.cpp:1473–1487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1471}
1472
1473void LogicSnapshot::free_decode_lpb(void *lbp)
1474{
1475 assert(lbp);
1476
1477 std::lock_guard<std::mutex> lock(_mutex);
1478
1479 for (auto it = _free_block_list.begin(); it != _free_block_list.end(); it++)
1480 {
1481 if ((*it) == lbp){
1482 _free_block_list.erase(it);
1483 free(lbp);
1484 break;
1485 }
1486 }
1487}
1488
1489void LogicSnapshot::free_head_blocks(int count)
1490{

Callers 1

decode_dataMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected