MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_buf_to_cb

Function test_buf_to_cb

freebsd/contrib/xz-embedded/userspace/boottest.c:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void test_buf_to_cb(void)
51{
52 size_t in_size;
53 int in_used;
54 int ret;
55 in_size = fread(in, 1, sizeof(in), stdin);
56 ret = decompress(in, in_size, NULL, &flush, NULL, &in_used, &error);
57 fprintf(stderr, "ret = %d; in_used = %d\n", ret, in_used);
58}
59
60static void test_cb_to_cb(void)
61{

Callers 1

mainFunction · 0.85

Calls 1

decompressFunction · 0.50

Tested by

no test coverage detected