@Override public boolean isDirect() { return (gadget_ != null) && gadget_.isDirect(); }
@Override public boolean isDirect() { return (gadget_ != null) && gadget_.isDirect(); }
if (tgt.isDirect() && (nFinal > 0)) { final WritableMemory mem = tgt.getMemory(); mem.clearBits(FLAGS_BYTE, (byte) EMPTY_FLAG_MASK);
if (tgt.isDirect() && (nFinal > 0)) { final WritableMemory mem = tgt.getMemory(); mem.clearBits(FLAGS_BYTE, (byte) EMPTY_FLAG_MASK);
if (myQS.isDirect()) { final WritableMemory mem = myQS.getMemory(); //myQS is empty, ok to reconfigure other.putMemory(mem, false); // not compact, but BB ordered ret = (myQS.isDirect()) ? DoublesSketch.builder().setK(other.getK()).build(myQS.getMemory()) : DoublesSketch.builder().setK(other.getK()).build();
if (tgt.isDirect() && (nFinal > 0)) { final WritableMemory mem = tgt.getMemory(); mem.clearBits(FLAGS_BYTE, (byte) EMPTY_FLAG_MASK);
if (tgt.isDirect() && (nFinal > 0)) { final WritableMemory mem = tgt.getMemory(); mem.clearBits(FLAGS_BYTE, (byte) EMPTY_FLAG_MASK);
if (myQS.isDirect()) { final WritableMemory mem = myQS.getMemory(); //myQS is empty, ok to reconfigure other.putMemory(mem, false); // not compact, but BB ordered ret = (myQS.isDirect()) ? DoublesSketch.builder().setK(other.getK()).build(myQS.getMemory()) : DoublesSketch.builder().setK(other.getK()).build();