2 writes to _ectx
Microsoft.ML.Data (2)
DataLoadSave\Binary\BinaryLoader.cs (2)
145
_ectx
= _parent._host;
180
_ectx
= _parent._host;
34 references to _ectx
Microsoft.ML.Data (34)
DataLoadSave\Binary\BinaryLoader.cs (34)
147
_ectx
.Assert(0 <= index && index < parent._header.ColumnCount);
148
_ectx
.AssertValue(name);
149
_ectx
.AssertValueOrNull(codec);
150
_ectx
.Assert(metadataTocOffset == 0 || Header.HeaderSize <= metadataTocOffset);
152
_ectx
.Assert(Header.HeaderSize <= lookupOffset);
166
_ectx
.Assert(!IsGenerated);
182
_ectx
.AssertValue(name);
183
_ectx
.AssertValue(type);
184
_ectx
.AssertValue(valueMapper);
194
_ectx
.Assert(IsGenerated);
205
_ectx
.Assert(IsGenerated);
206
_ectx
.AssertValue(_generatorDelegate);
207
_ectx
.AssertValue(Type);
209
_ectx
.AssertValue(del);
219
_ectx
.Assert(IsGenerated);
220
_ectx
.Assert(typeof(T) == Type.RawType);
230
_ectx
.Assert(!IsGenerated == (LookupOffset > 0));
244
throw
_ectx
.ExceptNotSupp("This version of the software does not support {0} blocks", numBlocks);
255
_ectx
.CheckDecode(0 <= compLen, "negative compressed block length detected");
256
_ectx
.CheckDecode(0 <= decompLen, "negative decompressed block length detected");
261
_ectx
.CheckDecode(Header.HeaderSize <= offset && offset <= _parent._header.TailOffset - compLen, "block offset out of range");
271
_ectx
.AssertValue(_lookup);
273
_ectx
.Assert(_maxDecompLen >= 0);
274
_ectx
.Assert(_maxCompLen >= 0);
293
_ectx
.Assert(0 <= _maxCompLen);
294
_ectx
.Assert(0 <= _maxDecompLen);
319
_ectx
.AssertValue(ch);
388
_ectx
.Assert((MetadataTocOffset == 0) == (_metadataToc == null));
389
_ectx
.Assert((MetadataTocOffset == 0) == (_deadMetadataToc == null));
402
_ectx
.Assert((MetadataTocOffset == 0) == (_metadataToc == null));
403
_ectx
.Assert((MetadataTocOffset == 0) == (_deadMetadataToc == null));
412
_ectx
.AssertNonEmpty(kind);
416
_ectx
.Assert(MetadataTocOffset == 0);
433
_ectx
.Assert((_metadataTocEnd == 0) == (MetadataTocOffset == 0));