passing a 2d-array to a function in c language, what is the difference between int* b[4] and int b[][4]?
I am trying to shift the rows of a 2-dimensional array: #include
Start Learning to Code
I am trying to shift the rows of a 2-dimensional array: #include
I wrote a multi-thread today. The task of the thread is to write data to a large array. A single thread takes about 0.7s, but it takes more than 20 seconds to write independently and concurrently with …
As far as I know, OS kernel maintains the translation from virtual address to physical address, and the userspace program uses virtual address, the CPU uses physical address. Since all machine codes …
I had a laptop with 4GB of ram, putted another 4GB for 8GB the laptop was saying 7.9GB usable, pretty normal and expected. One day when I turned it on (4 to 6 months later), only 7.4 were usable. Did …
I am trying to reduce data transfer to my embedded linux device by creating patches for almost similar binaries. I have memory constraints on my device and hence heavy algorithms like bsdiff and …
Background I have the following code that works like a charm and is used to make pairs for a Siamese network: def make_pairs(images, labels): # initialize two empty lists to hold the (image, image) …
I’ve had a look at some other similar questions and examples but I’m stumped. My goal is to open a very large text file (novel sized), allocate memory to an array, and then store the text into that …
I want to know how does Windows calculate default page file size. For example, for 48 GB RAM it shows 7168 MB page file size.
Suppose that you are dealing with a potentially infinite amount of data. Suppose further that you do not have this data stored in memory, but can generate individual terms at will. Finally, suppose …
In this answer (sencond part/process explorer): https://superuser.com/a/1270689/1160187 it’s suggested that page faults can be viewed per process in process explorer. But in my case, I don’t have …