1 write to _inverseMap
Microsoft.ML.FastTree (1)
Utils\MappedObjectPool.cs (1)
30
_inverseMap
= Enumerable.Range(0, _pool.Length).Select(x => -1).ToArray(_pool.Length);
6 references to _inverseMap
Microsoft.ML.FastTree (6)
Utils\MappedObjectPool.cs (6)
59
if (
_inverseMap
[stealPosition] >= 0)
60
_map[
_inverseMap
[stealPosition]] = -1;
62
_inverseMap
[stealPosition] = index;
75
_inverseMap
[stealPosition] = toIndex;
88
for (int i = 0; i <
_inverseMap
.Length; ++i)
89
_inverseMap
[i] = -1;