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

Function test_ring_mem_copy

dpdk/app/test/test_ring.h:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static inline void
59test_ring_mem_copy(void *dst, void * const *src, int esize, unsigned int num)
60{
61 size_t sz;
62
63 sz = num * sizeof(void *);
64 if (esize != -1)
65 sz = esize * num;
66
67 memcpy(dst, src, sz);
68}
69
70/* Copy to the ring memory */
71static inline void

Callers 2

test_ring_copy_toFunction · 0.85
test_ring_copy_fromFunction · 0.85

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected