コード例 #1
0
 private void InitializeInstanceFields()
 {
     _node       = new TreeNodeFixedSize <MutableLong, MutableLong>(PAGE_SIZE, _layout);
     _readKey    = _layout.newKey();
     _searchKey  = _layout.newKey();
     _insertKey  = _layout.newKey();
     _dummyValue = _layout.newValue();
 }
コード例 #2
0
 private void InitializeInstanceFields()
 {
     _testDirectory = TestDirectory.testDirectory(this.GetType(), _fileSystemRule.get());
     RuleChain      = RuleChain.outerRule(_fileSystemRule).around(_testDirectory).around(_pageCacheRule).around(_randomRule);
     _treeNode      = new TreeNodeFixedSize <MutableLong, MutableLong>(PAGE_SIZE, _layout);
 }