4 instantiations of MemoryStreamPool
Microsoft.ML.Data (4)
DataLoadSave\Binary\BinarySaver.cs (1)
201
_memPool = new
MemoryStreamPool
();
DataLoadSave\Binary\CodecFactory.cs (1)
42
_memPool = memPool ?? new
MemoryStreamPool
();
DataLoadSave\Binary\MemoryStreamPool.cs (1)
65
Interlocked.CompareExchange(ref _pools[index], new
MemoryStreamPool
(), null);
Transforms\ValueToKeyMappingTransformer.cs (1)
189
Interlocked.CompareExchange(ref _codecFactoryPool, new
MemoryStreamPool
(), null);
9 references to MemoryStreamPool
Microsoft.ML.Data (9)
DataLoadSave\Binary\BinaryLoader.cs (2)
1681
private readonly
MemoryStreamPool
_compPool;
1682
private readonly
MemoryStreamPool
_decompPool;
DataLoadSave\Binary\BinarySaver.cs (1)
56
private readonly
MemoryStreamPool
_memPool;
DataLoadSave\Binary\CodecFactory.cs (2)
24
private readonly
MemoryStreamPool
_memPool;
35
public CodecFactory(IHostEnvironment env,
MemoryStreamPool
memPool = null)
DataLoadSave\Binary\MemoryStreamPool.cs (3)
43
private readonly
MemoryStreamPool
[] _pools;
47
_pools = new
MemoryStreamPool
[IndexFor(int.MaxValue) + 1];
59
public
MemoryStreamPool
Get(int maxSize)
Transforms\ValueToKeyMappingTransformer.cs (1)
180
private static volatile
MemoryStreamPool
_codecFactoryPool;