Exemplo n.º 1
0
        public void MruCollectionPruneItemsTest()
        {
            ConcurrentMruManager <int, int> Mru = new ConcurrentMruManager <int, int>(10, 15);
            BTree <int, int> btree = new BTree <int, int>();

            Mru.SetDataStores(btree);
            for (int i = 0; i < 15; i++)
            {
                Mru.Add(i, i);
            }
            Mru.Add(14, 14);
        }
Exemplo n.º 2
0
        public void MruPruneItemsTest()
        {
            ConcurrentMruManager <int, int> Mru = new ConcurrentMruManager <int, int>(10, 15);

            for (int i = 0; i < 15; i++)
            {
                Mru.Add(i, i);
            }

            Mru.Add(14, 14);

            //int fileMaxCount = Sop.Collections.OnDisk.Core.Win32._getmaxstdio();
        }