1 write to _cache
Microsoft.ML.Core (1)
Utilities\LruCache.cs (1)
35_cache = new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>(_size);
5 references to _cache
Microsoft.ML.Core (5)
Utilities\LruCache.cs (5)
45if (_cache.TryGetValue(key, out node)) 64Contracts.Assert(!_cache.ContainsKey(key)); 66_cache.Add(key, node); 67if (_cache.Count > _size) 71_cache.Remove(node.Value.Key);