mmap
Delete / Insert Data in mmap'ed File
I am working on a script in Python that maps a file for processing using mmap(). The tasks requires me to change the file\'s contents by[详细]
2023-03-04 12:01 分类:问答How to export a struct to a file, and then memory map the file?
I have a str开发者_运维百科uct that I\'d like to export to a file, and then mmap() that file. One issue is that the struct has a member variable that is a string, and I\'m not sure how mmap would hand[详细]
2023-03-03 12:48 分类:问答python mmap.error: Too many open files. What's wrong?
I\'m reading a bunch of netcdf files using the pupynere interface (linux). The following code results in an mmap error:[详细]
2023-03-02 02:24 分类:问答Where is MAP_FAILED returned
A linux kernel newbie question. the man pag开发者_开发问答es of mmap state that \".. otherwise, it shall return a value of MAP_FAILED and set errno to indicate the error... \"[详细]
2023-02-28 02:52 分类:问答I need help input a file in chunks into mmap
I am trying to use mmap to read a file using chunks of 1024. Here is a code snippit...开发者_JAVA技巧.[详细]
2023-02-26 07:53 分类:问答Coroutines with a growing stack in C
I want to use coroutines in C (Linux), but I don\'t want to waste lots of space for each one. I\'m wondering about allocating the space for the stack with mmap开发者_如何转开发() given MAP_GROWSDOWN,[详细]
2023-02-23 06:17 分类:问答Question on STL internals
I am currently writing some abstractions on IO for binary data. At this point I am currently not sure on how well the STL performs on some of these tasks. For example I have a lot of stuff I can encod[详细]
2023-02-21 15:04 分类:问答MAP_ANONYMOUS with C99 standard
I have an application that uses the mmap system call, I was having an issue getting it to compile for hours looki开发者_JAVA百科ng as to why I was getting MAP_ANON and MAP_ANONYMOUS were undeclared, I[详细]
2023-02-19 19:51 分类:问答Why would changing the filesystem type from XFS to JFS increase mmap file write performance?
I have been playing around with different filesystems and comparing the performance of the vari开发者_如何学Cous filesystems when using mmap.[详细]
2023-02-19 03:17 分类:问答Running out of file descriptors for mmaped files despite high limits in multithreaded web-app
I have an application that mmaps a large number of files.3000+ or so.It also uses about 75 worker threads.The application is written in a mix of Java and C++, with the Java server code calling out to[详细]
2023-02-15 19:45 分类:问答