7 writes to _flags
Microsoft.ML.Data (7)
DataLoadSave\Text\TextLoader.cs (7)
1184
_flags
|= OptionFlags.TrimWhitespace;
1186
_flags
|= OptionFlags.HasHeader;
1188
_flags
|= OptionFlags.AllowQuoting;
1190
_flags
|= OptionFlags.AllowSparse;
1192
_flags
|= OptionFlags.ReadMultilines;
1194
_flags
|= OptionFlags.MissingRealsAsNaNs;
1422
_flags
= (OptionFlags)ctx.Reader.ReadUInt32();
13 references to _flags
Microsoft.ML.Data (13)
DataLoadSave\Text\TextLoader.cs (7)
1131
get { return (
_flags
& OptionFlags.HasHeader) != 0; }
1136
get { return (
_flags
& OptionFlags.ReadMultilines) != 0; }
1271
_host.CheckUserArg((
_flags
& OptionFlags.AllowSparse) == 0, nameof(Options.Separator),
1440
host.CheckDecode((
_flags
& ~acceptableFlags) == 0);
1457
host.CheckDecode((
_flags
& OptionFlags.AllowSparse) == 0);
1518
_host.Assert((
_flags
& ~OptionFlags.All) == 0);
1519
ctx.Writer.Write((uint)
_flags
);
DataLoadSave\Text\TextLoaderParser.cs (6)
685
if ((parent.
_flags
& OptionFlags.MissingRealsAsNaNs) != 0)
726
_flags = parent.
_flags
;
729
_missingRealsAsNaNs = (parent.
_flags
& OptionFlags.MissingRealsAsNaNs) != 0;
742
var impl = new HelperImpl(stats, parent.
_flags
, parent._separators, parent._escapeChar, 0, int.MaxValue);
747
var text = (parent.
_flags
& OptionFlags.TrimWhitespace) != 0 ? ReadOnlyMemoryUtils.TrimEndWhiteSpace(line) : line;
778
var impl = new HelperImpl(stats, parent.
_flags
, parent._separators, parent._escapeChar, parent._inputSize, int.MaxValue);