MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / ptr_canary

Function ptr_canary

tests/test_test_impact_tree.c:2633–2638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2631}
2632
2633static bool ptr_canary(const unsigned char *bytes, size_t begin, size_t end) {
2634 for (size_t i = begin; i < end; i++)
2635 if (bytes[i] != 0xa5)
2636 return false;
2637 return true;
2638}
2639
2640static bool ptr_read_ok(pt_fixture *fx, cbm_pinned_tree_t *tree, size_t index, size_t capacity,
2641 bool ancestor) {

Callers 1

ptr_read_okFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected