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)
679Contracts.Assert(_offsets != null, "writer was already committed"); 687_offsets.Add((short)(value.Offset.TotalMinutes)); 692Contracts.Assert(_offsets != null, "writer was already committed"); 693Contracts.Assert(Utils.Size(_offsets) == Utils.Size(_ticks)); 695Writer.WriteShortStream(_offsets); // Write the offsets. 703return (long)_offsets.Count * (sizeof(long) + sizeof(short));