1 write to _pools
Microsoft.ML.Data (1)
DataLoadSave\Binary\MemoryStreamPool.cs (1)
47_pools = new MemoryStreamPool[IndexFor(int.MaxValue) + 1];
5 references to _pools
Microsoft.ML.Data (5)
DataLoadSave\Binary\MemoryStreamPool.cs (5)
51/// Given a byte size, returns an appropriate index to <see cref="_pools"/>. 63Contracts.Assert(0 <= index && index < _pools.Length); 64if (_pools[index] == null) 65Interlocked.CompareExchange(ref _pools[index], new MemoryStreamPool(), null); 66return _pools[index];