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

Function print_objs

lib_acl_cpp/samples/diff/main.cpp:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11};
12
13static void print_objs(const std::vector<acl::diff_object*>& objs,
14 const char* prompt, int max)
15{
16 int i = 0;
17 for (std::vector<acl::diff_object*>::const_iterator cit = objs.begin();
18 cit != objs.end() && i++ < max; ++cit)
19 {
20 printf(">>%s->%d: key: %s, val: %s\r\n",
21 prompt, i, (*cit)->get_key(), (*cit)->get_val());
22 }
23}
24
25static void print_objs(
26 const std::vector<std::pair<acl::diff_object*, acl::diff_object*> >& objs,

Callers 1

check_diffFunction · 0.85

Calls 4

beginMethod · 0.80
endMethod · 0.45
get_keyMethod · 0.45
get_valMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…