MCPcopy Create free account
hub / github.com/RischardV/emoji-shellcoding / is_good

Method is_good

block/block.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 }
228
229 bool is_good(size_t idx) const {
230 if ((suffix[idx] || (prev[idx].size() > 0))
231 && ((goal.is_jump() && prefix[idx]) || (next[idx].size() > 0))) {
232 return true;
233 }
234 if (suffix[idx] && ((idx == goal.size()) || (goal.is_jump() && (idx > 0)))) {
235 return true;
236 }
237 return false;
238 }
239
240 bool is_good(void) const {
241 for (size_t idx=0; idx<=goal.size(); idx++) {

Callers 2

print_blockFunction · 0.80
make_good_listFunction · 0.80

Calls 2

sizeMethod · 0.80
is_jumpMethod · 0.80

Tested by

no test coverage detected