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

Function main

lib_acl/samples/iterator/main.c:529–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529int main(int argc, char *argv[])
530{
531#if 0
532 acl_memory_debug_start();
533 acl_memory_debug_stack(1);
534 acl_debug_malloc_init(NULL, "log.txt");
535#endif
536 int use_slice;
537
538 if (argc == 2 && strcasecmp(argv[1], "slice") == 0)
539 use_slice = 1;
540 else
541 use_slice = 0;
542
543 fifo_iter();
544 fifo_iter2();
545
546 ring_iter();
547
548 htable_iter();
549 htable_iter2();
550
551 binhash_iter();
552 binhash_iter2();
553
554 argv_iter(use_slice);
555 array_iter();
556 dlink_iter();
557 cache_iter();
558 timer_iter();
559 netdb_iter();
560 ifconf_iter();
561#ifdef ACL_MS_WINDOWS
562 printf("enter any key to exit ...\n");
563 getchar();
564#endif
565 return (0);
566}

Callers

nothing calls this directly

Calls 15

acl_memory_debug_startFunction · 0.85
acl_memory_debug_stackFunction · 0.85
acl_debug_malloc_initFunction · 0.85
fifo_iterFunction · 0.85
fifo_iter2Function · 0.85
ring_iterFunction · 0.85
htable_iterFunction · 0.85
htable_iter2Function · 0.85
binhash_iterFunction · 0.85
binhash_iter2Function · 0.85
argv_iterFunction · 0.85
array_iterFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…