9 references to CheckIO
Microsoft.ML.Data (9)
DataLoadSave\Binary\BinarySaver.cs (9)
298
_host.
CheckIO
(offsets[offsets.Count - 1] > offsets[offsets.Count - 2], "Bad offsets detected during write");
304
_host.
CheckIO
(writer.BaseStream.Position == offsets[0], "unexpected offset after no writing of metadata");
328
_host.
CheckIO
(writer.BaseStream.Position == expectedPosition, "unexpected offsets after metadata table of contents kind");
331
_host.
CheckIO
(writer.BaseStream.Position == expectedPosition, "unexpected offsets after metadata table of contents type description");
342
_host.
CheckIO
(writer.BaseStream.Position == expectedPosition, "unexpected offsets after metadata table of contents location");
492
ch.
CheckIO
(stream.Position == lookupOffsets[c] + (16 * blockLookups[c].Count),
519
ch.
CheckIO
(stream.Position == expectedPosition, "unexpected offsets after table of contents name");
521
ch.
CheckIO
(stream.Position == expectedPosition, "unexpected offsets after table of contents type description");
535
ch.
CheckIO
(stream.Position == expectedPosition, "unexpected offsets after table of contents");