MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / Find

Method Find

lib/mdflib/mdflib/src/ch4block.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103MdfBlock *Ch4Block::Find(int64_t index) const { // NOLINT
104 for (auto &ch : ch_list_) {
105 if (!ch) {
106 continue;
107 }
108 auto *p = ch->Find(index);
109 if (p != nullptr) {
110 return p;
111 }
112 }
113 return MdfBlock::Find(index);
114}
115
116int64_t Ch4Block::Index() const { return FilePosition(); }
117

Callers 1

FindReferencedBlocksMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected