Esempio n. 1
0
 public ArtInMemoryKeyValueDB(IOffHeapAllocator allocator)
 {
     _lastCommited = ARTImplV.CreateEmptyRoot(allocator);
     _lastCommited.Commit();
 }
Esempio n. 2
0
 public CursorTestsBase()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _root      = Is12 ? ARTImpl12.CreateEmptyRoot(_allocator) : ARTImplV.CreateEmptyRoot(_allocator);
     _cursor    = _root.CreateCursor();
 }