Wiki 페이지 'Mmap Memory mapped File Support¶' 를 삭제하면 취소할 수 없습니다. 계속 하시겠습니까?
Maps size bytes from the file specified by the file descriptor fileno, and returns a mmap object. If length is 0, the maximum length of the map will probably be the current measurement of the file when mmap is named. SHARED creates a mapping that’s shared with all other processes mapping the same areas of the file. WRITE, to specify that the pages may be learn or written. It is an error to specify each flags, prot and entry. See the description of entry above for information on how to use this parameter. 0. offset should be a a number of of ALLOCATIONGRANULARITY which is equal to PAGESIZE on Unix techniques. If trackfd is False, the file descriptor specified by fileno will not be duplicated, and the resulting mmap object is not going to be associated with the map’s underlying file. Which means the scale() and resize() methods will fail. This mode is beneficial to limit the number of open file descriptors.
To make sure validity of the created Memory Wave mapping the file specified by the descriptor fileno is internally mechanically synchronized with the bodily backing store on macOS. Changed in model 3.13: The trackfd parameter was added. Added in version 3.2: Context manager help. Closes the mmap. Subsequent calls to different strategies of the item will result in a ValueError exception being raised. This will not close the open file. True if the file is closed. Optional arguments begin and end are interpreted as in slice notation. Returns -1 on failure. Changed in model 3.5: Writable bytes-like object is now accepted. Flushes changes made to the in-Memory Wave copy of a file again to disk. Without use of this name there isn’t a guarantee that changes are written back earlier than the article is destroyed. If offset and dimension are specified, only changes to the given range of bytes can be flushed to disk
Wiki 페이지 'Mmap Memory mapped File Support¶' 를 삭제하면 취소할 수 없습니다. 계속 하시겠습니까?