internal RootNode12(BTreeImpl12 impl) { Impl = impl; Root = IntPtr.Zero; Writable = true; _referenceCount = 1; }
protected CursorTestsBase() { _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator()); _root = BTreeImpl12.CreateEmptyRoot(_allocator); _cursor = _root !.CreateCursor(); }
public CursorTestsBase() { _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator()); _root = Is12 ? BTreeImpl12.CreateEmptyRoot(_allocator) : null /*ARTImplV.CreateEmptyRoot(_allocator)*/; _cursor = _root.CreateCursor(); }
public FindResult Find(ReadOnlySpan <byte> key) { return(BTreeImpl12.Find(_rootNode, ref _stack, key)); }
public long FindLastWithPrefix(ReadOnlySpan <byte> keyPrefix) { return(BTreeImpl12.FindLastWithPrefix(_rootNode, keyPrefix)); }
public long CalcIndex() { return(BTreeImpl12.CalcIndex(_stack.AsSpan())); }
public RootNode12Tests() { _allocator = new LeakDetectorWrapperAllocator(new HGlobalAllocator()); _impl = new BTreeImpl12(_allocator); }