/// <summary> /// 设置根节点 /// </summary> /// <param name="boot"></param> private void setBoot(int boot) { this.boot = boot; nodes = (int *)Unmanaged.Get64((1 << 16) * sizeof(int), true); foreach (KeyValue <char, int> node in NodePool.Pool[boot >> ArrayPool.ArraySizeBit][boot & ArrayPool.ArraySizeAnd].Nodes) { nodes[node.Key] = node.Value; } }
public byte *GetClear() { return(Pool == null ? (byte *)Unmanaged.Get64(MemberMapSize, true) : Pool.GetClear()); }
public byte *GetMap() { return(Pool == null ? (byte *)Unmanaged.Get64(MemberMapSize, false) : Pool.Get()); }