MCPcopy Create free account
hub / github.com/apache/qpid-proton / live_descendent

Function live_descendent

c/tests/refcount_test.cpp:204–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204static bool live_descendent(int *indexes, void **objects, int step,
205 int objidx) {
206 for (int i = objidx + 1; i < 4; i++) {
207 if (!decreffed(indexes, objects, step, objects[i])) {
208 return true;
209 }
210 }
211
212 return false;
213}
214
215static void assert_refcount(void *object, int expected) {
216 int rc = pn_refcount(object);

Callers 1

test_decref_orderFunction · 0.85

Calls 1

decreffedFunction · 0.85

Tested by

no test coverage detected