Examples of appendShort()


Examples of com.facebook.presto.jdbc.internal.airlift.slice.DynamicSliceOutput.appendShort()

                .appendByte(indexBitLength)
                .appendShort(numberOfHashes)
                .appendShort(numberOfOverflows);

        for (int i = 0; i < numberOfHashes; i++) {
            out.appendShort(shortHashes[i]);
        }

        for (int i = 0; i < numberOfOverflows; i++) {
            out.appendShort(overflows[i]);
        }
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.airlift.slice.DynamicSliceOutput.appendShort()

        for (int i = 0; i < numberOfHashes; i++) {
            out.appendShort(shortHashes[i]);
        }

        for (int i = 0; i < numberOfOverflows; i++) {
            out.appendShort(overflows[i]);
        }

        return out.slice();
    }
View Full Code Here

Examples of io.airlift.slice.DynamicSliceOutput.appendShort()

                .appendByte(indexBitLength)
                .appendShort(numberOfHashes)
                .appendShort(numberOfOverflows);

        for (int i = 0; i < numberOfHashes; i++) {
            out.appendShort(shortHashes[i]);
        }

        for (int i = 0; i < numberOfOverflows; i++) {
            out.appendShort(overflows[i]);
        }
View Full Code Here

Examples of io.airlift.slice.DynamicSliceOutput.appendShort()

        for (int i = 0; i < numberOfHashes; i++) {
            out.appendShort(shortHashes[i]);
        }

        for (int i = 0; i < numberOfOverflows; i++) {
            out.appendShort(overflows[i]);
        }

        return out.slice();
    }
View Full Code Here

Examples of org.smpp.util.ByteBuffer.appendShort()

    markValueSet();
  }

  protected ByteBuffer getValueData() throws ValueNotSetException {
    ByteBuffer valueBuf = new ByteBuffer();
    valueBuf.appendShort(getValue());
    return valueBuf;
  }

  public void setValue(short p_value) {
    value = p_value;
View Full Code Here

Examples of org.smpp.util.ByteBuffer.appendShort()

   * carried by this TLV.
   */
  public ByteBuffer getData() throws ValueNotSetException {
    if (hasValue()) {
      ByteBuffer tlvBuf = new ByteBuffer();
      tlvBuf.appendShort(getTag());
      tlvBuf.appendShort(encodeUnsigned(getLength()));
      tlvBuf.appendBuffer(getValueData());
      return tlvBuf;
    } else {
      return null;
View Full Code Here

Examples of org.smpp.util.ByteBuffer.appendShort()

   */
  public ByteBuffer getData() throws ValueNotSetException {
    if (hasValue()) {
      ByteBuffer tlvBuf = new ByteBuffer();
      tlvBuf.appendShort(getTag());
      tlvBuf.appendShort(encodeUnsigned(getLength()));
      tlvBuf.appendBuffer(getValueData());
      return tlvBuf;
    } else {
      return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.