Example #1
0
 internal RootNode12(ARTImpl12 impl)
 {
     _impl           = impl;
     _root           = IntPtr.Zero;
     _writable       = true;
     _referenceCount = 1;
 }
Example #2
0
 public RootNode12Tests()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _impl      = new ARTImpl12(_allocator);
 }
Example #3
0
 public CursorTestsBase()
 {
     _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator());
     _root      = Is12 ? ARTImpl12.CreateEmptyRoot(_allocator) : ARTImplV.CreateEmptyRoot(_allocator);
     _cursor    = _root.CreateCursor();
 }