3 writes to _escapeChar
Microsoft.ML.Data (3)
DataLoadSave\Text\TextLoader.cs (3)
1248
_escapeChar
= options.EscapeChar;
1461
_escapeChar
= ctx.Reader.ReadChar();
1467
_escapeChar
= Defaults.EscapeChar;
12 references to _escapeChar
Microsoft.ML.Data (12)
DataLoadSave\Text\TextLoader.cs (7)
728
Cursor.GetSomeLines(headerFile, 1, parent.ReadMultilines, parent._separators, parent.
_escapeChar
, ref lines);
730
Cursor.GetSomeLines(dataSample, 100, parent.ReadMultilines, parent._separators, parent.
_escapeChar
, ref lines);
732
Cursor.GetSomeLines(dataSample, 1, parent.ReadMultilines, parent._separators, parent.
_escapeChar
, ref lines);
1249
if (_separators.Contains(
_escapeChar
))
1250
throw _host.ExceptUserArg(nameof(Options.EscapeChar), "EscapeChar '{0}' can't be used both as EscapeChar and separator",
_escapeChar
);
1471
host.CheckDecode(!_separators.Contains(
_escapeChar
));
1523
ctx.Writer.Write(
_escapeChar
);
DataLoadSave\Text\TextLoaderCursor.cs (2)
150
var reader = new LineReader(files, BatchSize, 100, parent.HasHeader, parent.ReadMultilines, parent._separators, parent.
_escapeChar
, parent._maxRows, 1);
167
var reader = new LineReader(files, BatchSize, 100, parent.HasHeader, parent.ReadMultilines, parent._separators, parent.
_escapeChar
, parent._maxRows, cthd);
DataLoadSave\Text\TextLoaderParser.cs (3)
727
_escapeChar = parent.
_escapeChar
;
742
var impl = new HelperImpl(stats, parent._flags, parent._separators, parent.
_escapeChar
, 0, int.MaxValue);
778
var impl = new HelperImpl(stats, parent._flags, parent._separators, parent.
_escapeChar
, parent._inputSize, int.MaxValue);