6 references to BufferSizeMb
Microsoft.ML.AutoML (6)
ColumnInference\TextFileSample.cs (6)
86
/// 1. If the file length is less than 2 * <see cref="
BufferSizeMb
"/>, revert to <see cref="CreateFromHead"/>.
89
/// with <see cref="
BufferSizeMb
"/> * <see cref="OversamplingRate"/> MB worth of lines.
101
if (fileSize <= 2 *
BufferSizeMb
* (1 << 20))
131
int chunkCount = (int)Math.Ceiling((
BufferSizeMb
* OversamplingRate - FirstChunkSizeMb) * (1 << 20) / usefulChunkSize);
164
var buf = new byte[
BufferSizeMb
* (1 << 20)];
185
using (var resultStream = new MemoryStream(
BufferSizeMb
* (1 << 20)))