cost 292 ms
Does a "circular memcpy" exist?

Is there a method of using memcpy (or similar) to copy from one circular array into another, but with an offset? I can do it with loops, but I want to ...

2022-12-09 18:17:37   2   113    c++ / memcpy  
Am I using memcpy wrong?

I'm trying to use memcpy to copy part of an unsigned int to another unsigned int within the same struct I made. But my program only prints the first p ...

Copy data from shared_ptr to struct

I've a setup where I need to exchange data provided in structs between two modules . Module 1 provides data in a shared_ptr of a struct, while module ...

get shell from memcpy

I've been trying to get shell from this function but nothing seems to work so what's happening here is that I have a variable of size 32 bytes and I'm ...

Memcpy Complete After Segfault

I have a PCIe endpoint device connected to the host. The ep's (endpoints) 512MB BAR is mmapped and memcpy is used to transfer data. Memcpy is quite sl ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM