memory-mapped-files
How can I extend the length of a memory-mapped file?
In Delphi 7, I open a file with CreateFileMapping then get a pointer by using MapViewOfFile. How can I expand the memory and add some characters to the memory and have it saved to that file?[详细]
2023-04-12 22:34 分类:问答How to use interlocked operations against memory-mapped files in .Net
Is there any way to use the Interlocked.CompareExchange(); and Interlocked.Increment(); methods against values stored in a memory开发者_如何学C-mapped file?[详细]
2023-04-12 20:58 分类:问答Does FreeBSD support memory mapped files?
I am using a FreeBSD OS, I want to write into a file which is on the disk, but, it will take a lot of time, so, I was suggested to use Memory mapped file. But, I am in a dilemma whether FreeBSD suppor[详细]
2023-04-08 05:27 分类:问答Using Memory Mapping or Unlocked Stream Operation?
I am working on a FUSE implementation for FAT32 under Linux (I know this is already available in the Linux Kernel, but this is a school assignment).[详细]
2023-04-07 14:39 分类:问答Using a memory-mapped file while allowing other processes full access
I\'m trying to use a memory-mapped file 开发者_如何转开发under windows (using CreateFile/CreateFileMapping/MapViewOfFile functions), and I\'m currently specifying FILE_SHARE_READ and FILE_SHARE_WRITE[详细]
2023-04-04 14:44 分类:问答Are boost mapped files RAII?
From what I can tell from documentation they aren\'t, on the other hand RAII is the one of the features of modern cpp.[详细]
2023-04-03 04:29 分类:问答Memory-mapped files: IOException on CreateViewAccessor for large data
I\'m working with large, and growing files using the managed wrappers for memory-mapped files: MemoryMappedFile, MemoryMappedViewAccessor.[详细]
2023-04-02 14:20 分类:问答Do I need to make a type a POD to persist it with a memory-mapped file?
Pointers cannot be persisted directly to file, because they point to absolute addresses. To address this issue I wrote a relative_ptr template that holds an offset instead of an absolute address.[详细]
2023-04-02 03:33 分类:问答Java: Memory efficient ByteArrayOutputStream
I\'ve got a 40MB file in the disk and I need to \"map\" it into memory using a byte array. At first, I thought writing the file to a ByteArrayOutputStream would be the best way, but I find it takes a[详细]
2023-04-01 04:02 分类:问答Boost iostream: how to turn ifstream into memory mapped file?
What I want is simple to open file for reading as memory mapped file - in order to access it with much more speed in future (example: we open file read it to end, wait and read it again and again) Mea[详细]
2023-03-30 05:24 分类:问答