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)
45
if (
_cache
.TryGetValue(key, out node))
64
Contracts.Assert(!
_cache
.ContainsKey(key));
66
_cache
.Add(key, node);
67
if (
_cache
.Count > _size)
71
_cache
.Remove(node.Value.Key);