10 references to DefaultSize
System.IO.MemoryMappedFiles (10)
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (8)
89
return CreateFromFile(path, FileMode.Open, null,
DefaultSize
, MemoryMappedFileAccess.ReadWrite);
93
return CreateFromFile(path, mode, null,
DefaultSize
, MemoryMappedFileAccess.ReadWrite);
98
return CreateFromFile(path, mode, mapName,
DefaultSize
, MemoryMappedFileAccess.ReadWrite);
148
if (capacity ==
DefaultSize
)
226
if (capacity ==
DefaultSize
)
258
if (capacity ==
DefaultSize
)
389
return CreateViewStream(0,
DefaultSize
, MemoryMappedFileAccess.ReadWrite);
423
return CreateViewAccessor(0,
DefaultSize
, MemoryMappedFileAccess.ReadWrite);
System\IO\MemoryMappedFiles\MemoryMappedView.cs (1)
84
newSize = (size != MemoryMappedFile.
DefaultSize
) ? (ulong)size + (ulong)extraMemNeeded : 0;
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (1)
26
if (requestedSize == MemoryMappedFile.
DefaultSize
)