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. 101if (fileSize <= 2 * BufferSizeMb * (1 << 20)) 131int chunkCount = (int)Math.Ceiling((BufferSizeMb * OversamplingRate - FirstChunkSizeMb) * (1 << 20) / usefulChunkSize); 164var buf = new byte[BufferSizeMb * (1 << 20)]; 185using (var resultStream = new MemoryStream(BufferSizeMb * (1 << 20)))