public void writeUInt64(int fieldNumber, long value, boolean repeated) throws IOException { tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); /*tail = writeTagAndRawVarInt64( makeTag(fieldNumber, WIRETYPE_VARINT), value, this, tail);*/ }
public void writeInt64(int fieldNumber, long value, boolean repeated) throws IOException { tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); /*tail = writeTagAndRawVarInt64( makeTag(fieldNumber, WIRETYPE_VARINT), value, this, tail);*/ }
public void writeSInt64(int fieldNumber, long value, boolean repeated) throws IOException { tail = sink.writeVarInt64( encodeZigZag64(value), this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); /*tail = writeTagAndRawVarInt64( makeTag(fieldNumber, WIRETYPE_VARINT), encodeZigZag64(value), this, tail);*/ }
public void writeInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField && root.index.isDependency(fieldNumber)) indexVarInt64(fieldNumber, value); tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
public void writeUInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField && root.index.isDependency(fieldNumber)) indexVarInt64(fieldNumber, value); tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
public void writeSInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField && root.index.isDependency(fieldNumber)) indexVarInt64(fieldNumber, value); tail = sink.writeVarInt64( encodeZigZag64(value), this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
public void writeUInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField) { final CAS.Op<?> o = root.isMutable(fieldNumber) ? cas.getOp(fieldCASIdx[fieldNumber]) : null; if(o != null && o.f == fieldNumber && !o.noop) value = casVarInt64(fieldNumber, value, (CAS.UInt64Op)o); // even if this field did not change, it could be needed by an index indexVarInt64(fieldNumber, value); } tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
public void writeInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField) { final CAS.Op<?> o = root.isMutable(fieldNumber) ? cas.getOp(fieldCASIdx[fieldNumber]) : null; if(o != null && o.f == fieldNumber && !o.noop) value = casVarInt64(fieldNumber, value, (CAS.Int64Op)o); // even if this field did not change, it could be needed by an index indexVarInt64(fieldNumber, value); } tail = sink.writeVarInt64( value, this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
tail = sink.writeVarInt64( value, this,
public void writeSInt64(int fieldNumber, long value, boolean repeated) throws IOException { if(entityField) { final CAS.Op<?> o = root.isMutable(fieldNumber) ? cas.getOp(fieldCASIdx[fieldNumber]) : null; if(o != null && o.f == fieldNumber && !o.noop) value = casVarInt64(fieldNumber, value, (CAS.SInt64Op)o); // even if this field did not change, it could be needed by an index indexVarInt64(fieldNumber, value); } tail = sink.writeVarInt64( encodeZigZag64(value), this, sink.writeVarInt32( makeTag(fieldNumber, WIRETYPE_VARINT), this, tail)); }
tail = sink.writeVarInt64( value, this,
tail = sink.writeVarInt64( value, this,
tail = sink.writeVarInt64( value, this,
tail = sink.writeVarInt64( value, this,