5 writes to _values
Microsoft.ML.Data (5)
Data\BufferBuilder.cs (5)
66_values = new T[8]; 120_values = new T[_length]; 181Array.Resize(ref _values, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 209Array.Resize(ref _values, Math.Max(Math.Min(_length, checked(_count * 2)), 8)); 323Array.Resize(ref _values, _length);
36 references to _values
Microsoft.ML.Data (36)
Data\BufferBuilder.cs (36)
74Contracts.AssertValue(_values); 75Contracts.Assert(_values.Length >= _count); 119if (_values.Length < _length) 122Array.Clear(_values, 0, _length); 169_comb.Combine(ref _values[index], value); 180if (_values.Length <= _count) 185_values[_count] = value; 194_comb.Combine(ref _values[index], value); 203_comb.Combine(ref _values[index], value); 208if (_values.Length <= _count) 215_values[_count] = value; 236_comb.Combine(ref _values[ivDst], value); 248_values[i + 1] = _values[i]; 251_values[ivDst] = value; 267Array.Sort(_indices, _values, 0, _count); 280if (!_comb.IsDefault(_values[ivSrc])) 283Contracts.Assert(ivSrc < _count && !_comb.IsDefault(_values[ivSrc])); 285_values[ivDst] = _values[ivSrc]; 292_comb.Combine(ref _values[ivDst - 1], _values[ivSrc]); 300_values[ivDst] = _values[ivSrc]; 322if (_values.Length < _length) 332_values[ivDst] = default(T); 334_values[ivDst] = _values[iivSrc]; 337_values[ivDst] = default(T); 355v = _values[ifeat]; 365v = _values[ifeat]; 378v = _values[iv]; 408_comb.Combine(ref _values[index + i], values[i]); 424_comb.Combine(ref _values[index + indices[i]], values[i]); 454_values.AsSpan(0, _length).CopyTo(editor.Values); 461_values.AsSpan(0, _count).CopyTo(editor.Values);