2 writes to _offsets
Microsoft.ML.Data (2)
DataLoadSave\Binary\Codecs.cs (2)
673
_offsets
= new List<short>();
697
_offsets
= null;
6 references to _offsets
Microsoft.ML.Data (6)
DataLoadSave\Binary\Codecs.cs (6)
679
Contracts.Assert(
_offsets
!= null, "writer was already committed");
687
_offsets
.Add((short)(value.Offset.TotalMinutes));
692
Contracts.Assert(
_offsets
!= null, "writer was already committed");
693
Contracts.Assert(Utils.Size(
_offsets
) == Utils.Size(_ticks));
695
Writer.WriteShortStream(
_offsets
); // Write the offsets.
703
return (long)
_offsets
.Count * (sizeof(long) + sizeof(short));