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