Skip to content

Commit 803e3e5

Browse files
authored
Merge pull request #4297 from shjin404/patch-1
A small correction on the note about stream size rounded up by page size
2 parents 1bb809a + 8a11290 commit 803e3e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ Process C says: True
14271427
## Remarks
14281428
You can use the view returned by this method for random access to a memory-mapped file.
14291429
1430-
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be smaller or larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
1430+
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
14311431
14321432
14331433
@@ -1502,7 +1502,7 @@ Process C says: True
15021502
## Remarks
15031503
You can use the view returned by this method for random access to a memory-mapped file.
15041504
1505-
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be smaller or larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
1505+
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
15061506
15071507
]]></format>
15081508
</remarks>
@@ -1631,7 +1631,7 @@ Process C says: True
16311631
## Remarks
16321632
You can use the stream returned by this method for sequential access to a memory-mapped file, such as for inter-process communications.
16331633
1634-
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be smaller or larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
1634+
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
16351635
16361636
]]></format>
16371637
</remarks>
@@ -1699,7 +1699,7 @@ Process C says: True
16991699
## Remarks
17001700
You can use the stream returned by this method for sequential access to a memory-mapped file, such as for inter-process communications.
17011701
1702-
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be smaller or larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
1702+
To create a complete view of the memory-mapped file, specify 0 (zero) for the `size` parameter. If you do this, the size of the view might be larger than the size of the source file on disk. This is because views are provided in units of system pages, and the size of the view is rounded up to the next system page size.
17031703
17041704
]]></format>
17051705
</remarks>

0 commit comments

Comments
 (0)