A friend and I were curious as to whether you could detect levels of ionizing radiation by looking at rates of single bit errors in memory. I did a little research ...
Hi, In a certain system we are left with only 6 bits, which can store a no. of range 0 to 63. We want to store two numbers each ranging from 0 to 12, which will take 4 bits each. Does anyone know of any algorithm that can store these two 4 bit number in optimized way together into 6 bits. ...
>> I have a large chunk of memory that I want to bit-wise complement. Since I want it to be fast, I don't really want to go byte by byte. What's the best way to do this? Here's a first implementation using longs, but I want to do a bigger chunk at a time. However I'm worried that doing a larger ...
Hi everyone, I want to create a lookup dictionary table in C on my 64-bit Ubuntu machine that is large enough to exhaust all of my memory (currently 8GB, but may increase). However, I run out of heap space when I dynamically allocate my table and statically allocating the table is simply not a good idea. Is there a function/library I ...
Hi Eugen can you please explain how the memory management done in second case. ( For eg. generally 64 bit os with 64 bit manchine allocate 8 bytes for pointer and if OS is 32 bit with 64 bit it allocate 4 bytes so how the remaning 4 bytes are use by OS? )