コード例 #1
0
 private void TrackAdded(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf => Added.Add(leaf.Index));
 }
コード例 #2
0
 private void SetBranch(int slot, ShaMapNode node)
 {
     SlotBits       = SlotBits | (1 << slot);
     Branches[slot] = node;
     Invalidate();
 }
コード例 #3
0
 private void TrackRemoved(ShaMapNode child)
 {
     child.WalkAnyLeaves(leaf => Deleted.Add(leaf.Index));
 }
コード例 #4
0
 protected internal void SetBranch(Hash256 index, ShaMapNode node)
 {
     SetBranch(SelectBranch(index), node);
 }