Lines Matching defs:copy
21 * You should have received a copy of the GNU General Public License
32 * that contains it, copy it into another chunk, then look it up via
36 * Data alloc/copy/free cycle
98 "-R\t\t Randomize size of memory to copy and search\n"
360 * In this function, we randomly select a memory chunk, copy it into a
362 * then free the memory. An option tells us to allocate and copy a
372 record_t *src, *copy;
388 copy = alloc_mem(copy_size);
391 touch_mem((char *)copy, copy_size);
395 my_memcpy(copy, src, copy_size);
397 memcpy(copy, src, copy_size);
402 printf("Search key %zu, copy size %zu\n", key,
405 found = linear_search(key, copy, copy_size);
408 bsearch(&key, copy, copy_size / record_size,
418 free_mem(copy, copy_size);