8 references to ChunkSize
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (8)
38var chunkCount = (length + ChunkSize - 1) / ChunkSize; 43for (long i = 0, c = 0; i < length; i += ChunkSize, c++) 45var count = (int)Math.Min(ChunkSize, length - i); 196var copyCount = Math.Min(Math.Min(ChunkSize - currentOffset, count), (int)(length - position)); 248=> (int)(value / ChunkSize); 251=> (int)(value % ChunkSize); 383var writeCount = Math.Min(ChunkSize - currentOffset, countLeft);