Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

VersionMappedFile Class Reference

List of all members.

Public Member Functions

void testMappedFile ()

Detailed Description

Construct a memory-mapped buffer upon a 200MB file. Note that we should close both the conduit and buffer when finished.

Note also that Win32 takes a while to close the initial file if it has just been created or resized. Subsequently opening the file as ReadWriteExising performs admirably. I imagine it's to do with spooling a gazillion dirty pages to the drive?

Definition at line 1221 of file test/unittest.d.


Member Function Documentation

void testMappedFile  )  [inline]
 

Definition at line 1223 of file test/unittest.d.

References IBuffer::append(), FileConduit, and FileConduit::seek().


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 11:00:07 2005 for Mango by  doxygen 1.4.0