memcpy
memcpy causing 'exc bad access'
I\'m trying to loop through an array and copy across data, but after 1023 loops, I get an exc bad access message thrown and I have a feeling it might be to do with my memory.[详细]
2023-04-10 15:39 分类:问答VS2010 memcpy fast magic
Hello (and sorry for my bad english), for some portability issues i need to write myself a memory copy function. But my best attempt do this is 40-70% slower than visual studio\'s 2010 standard memcpy[详细]
2023-04-03 10:54 分类:问答Does memcpy not throw exceptions?
Hopefully there is a simple answer to this as it seems a simple question, however I have not been able to find any information on this on the interwebs.[详细]
2023-03-30 07:27 分类:问答Off-chip memcpy?
I was profiling a program today at work that does a lot of buffered network activity, and this program spent most of its time in memcpy, just moving data back and forth between library-managed network[详细]
2023-03-28 08:11 分类:问答Copying byte array to various fields in class/struct in C#
In the example 开发者_如何学CC# code below, I have a byte array which has been read from a socket. I want to parse the data into the various fields of \'exampleClass\' (first 8 bytes into the 64-bit v[详细]
2023-03-27 17:14 分类:问答memcpy from user space to kernel space
Is it possible to copy data from a user space address to kernel space? If so, who will handle translating VMA so there are no page fau开发者_如何学编程lts? Would memcpy guarantee this to be safe?copy_[详细]
2023-03-26 15:06 分类:问答Memcpy of native array to managed array in C++ CLI
Am I doing this right? I get a pointer to a native array and need to copy to a managed array. Use memcpy() with a pin_ptr.[详细]
2023-03-26 02:55 分类:问答Concatenate with Memcpy
I\'m trying to concatenate two string and I cannot use strcpy and strcat, so I\'m trying to do this through memcopy. However, on the third statement the memcpy it is not adding on to the con开发者_JAV[详细]
2023-03-25 07:07 分类:问答C++ memcpy and happy access violation
For some reason i can\'t figure i am getting access violation. memcpy_s (buffer, bytes_per_line * height, image, bytes_per_line * height);[详细]
2023-03-23 02:12 分类:问答memcpy() performance- Ubuntu x86_64
I am observing some weird behavior which I am not being able to explain. Following are the details :-[详细]
2023-03-22 16:18 分类:问答