10 char *src = kcalloc(500,
sizeof(
char));
11 char *dst = kcalloc(500,
sizeof(
char));
13 for (
size_t i = 0; i < 500; i++)
18 for (
size_t i = 0; i < 500; i++)
27 char *src = kcalloc(500,
sizeof(
char));
28 char *dst = kcalloc(500,
sizeof(
char));
30 for (
size_t i = 0; i < 500; i++)
34 for (
size_t i = 0; i < 500; i++)
43 size_t *src = kcalloc(500,
sizeof(
size_t));
45 for (
size_t i = 0; i < 300; i++)
48 memmove(src + 200, src, 300 *
sizeof(
size_t));
50 for (
size_t i = 200; i < 500; i++)
58 size_t *src = kcalloc(500,
sizeof(
size_t));
60 for (
size_t i = 0; i < 500; i++)
64 memmove(src, src + 200, 300 *
sizeof(
size_t));
68 for (
size_t i = 0; i < 300; i++)
72 for (
size_t i = 300; i < 500; i++)
MOSAPI void * memmove(void *dest, const void *src, size_t n)
static void * memcpy(void *s1, const void *s2, size_t n)
#define MOS_TEST_CHECK(actual, expected)
#define MOS_TEST_CASE(_TestName)