Esempio n. 1
0
 internal RootNode(ARTImpl impl)
 {
     _impl           = impl;
     _root           = IntPtr.Zero;
     _writtable      = true;
     _referenceCount = 1;
 }
Esempio n. 2
0
 public CursorTestsBase()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _root      = ARTImpl.CreateEmptyRoot(_allocator, Is12);
     _cursor    = _root.CreateCursor();
 }
Esempio n. 3
0
 public RootNodeTests()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _impl      = new ARTImpl(_allocator, false);
 }
Esempio n. 4
0
 public ArtInMemoryKeyValueDB(IOffHeapAllocator allocator)
 {
     _lastCommited = ARTImpl.CreateEmptyRoot(allocator, false);
 }
Esempio n. 5
0
 internal RootNode(ARTImpl impl)
 {
     _impl      = impl;
     _root      = IntPtr.Zero;
     _writtable = true;
 }