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

Function test_map2

lib_acl/samples/code/main.c:74–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72};
73
74static void test_map2(void)
75{
76 unsigned int i, n;
77 unsigned short k;
78 unsigned char h, l;
79
80 n = sizeof(html_charset) / sizeof(html_charset[0]);
81
82 for (i = 0; i < n; i++) {
83 k = html_charset[i].id;
84 h = (unsigned char) (k >> 8);
85 l = (unsigned char) (k & 0xFF) ;
86 if (k > 255 && (h == 0 || l == 0))
87 printf("id: %d = 0\n", html_charset[i].id);
88 }
89}
90
91static void create_map2(void)
92{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…