MCPcopy Create free account
hub / github.com/acl-dev/acl / dlink_node_merge

Function dlink_node_merge

lib_acl/src/stdlib/common/acl_dlink.c:205–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205static int dlink_node_merge(ACL_ARRAY *a, int idx_obj_begin, int idx_src_begin)
206{
207 int ret;
208
209 if(idx_obj_begin >= idx_src_begin)
210 return 0;
211
212 ret = acl_array_mv_idx(a, idx_obj_begin, idx_src_begin, dlink_free_callback);
213 if(ret < 0)
214 return -1;
215
216 return 0;
217}
218
219static ACL_DITEM *dlink_add(ACL_ARRAY *a, acl_int64 begin, acl_int64 end)
220{

Callers 1

dlink_addFunction · 0.85

Calls 1

acl_array_mv_idxFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…