Top "Memcpy" questions

memcpy() is a C standard library function used for copying a block of memory bytes from one place to another.

Undefined reference to memcpy_s

I'm trying to fix an undefined reference to memcpy_s() error. I've included string.h in my file and the …

c memcpy undefined-reference c11 tr24731
Performance of list(...).insert(...)

I thought about the following question about computer's architecture. Suppose I do in Python from bisect import bisect index = bisect(…

python architecture memory list memcpy
Poor memcpy Performance on Linux

We have recently purchased some new servers and are experiencing poor memcpy performance. The memcpy performance is 3x slower on …

c++ c linux memcpy numa
optimized memcpy

Are there faster alternatives to memcpy() in C++?

c++ optimization memcpy
memcpy of overlapping buffers

I ran into strange behavior when using the Aztec linear system solver library. Using valgrind, I found out that this …

c++ c memcpy
Does "&s[0]" point to contiguous characters in a std::string?

I'm doing some maintenance work and ran across something like the following: std::string s; s.resize( strLength ); // strLength is …

c++ memcpy stdstring c++03
Linking error when building without CRT, memcpy and memset intrinsic functions

I'm trying to build an application as tiny as possible, and in doing so I'm trying to avoid use of …

c++ memcpy intrinsics crt memset
copy_to_user vs memcpy

I have always been told(In books and tutorials) that while copying data from kernel space to user space, we …

c linux-kernel linux-device-driver memcpy
C++ memcpy from double array to float array

Is is possible to memcpy from a double array to a float array safely?

c++ memcpy
'memdup' function in C?

In C, you can use strdup to succinctly allocate a buffer and copy a string into it. As far as …

c memcpy strdup