protected final void setByte(long offset, byte b) { checkPosition(offset, 1); MemoryUtil.setByte(peer + offset, b); }
MemoryUtil.setShort(peer + (metadataSize - 2), (short) dataSize); // goes at the end of the other offsets MemoryUtil.setByte(bitmapStart, bitmapSize, (byte) 0); long dataStart = peer + metadataSize + bitmapSize; int dataOffset = 0; int b = MemoryUtil.getByte(boffset); b |= 1 << (i & 7); MemoryUtil.setByte(boffset, (byte) b); continue;
MemoryUtil.setShort(peer + (metadataSize - 2), (short) dataSize); // goes at the end of the other offsets MemoryUtil.setByte(bitmapStart, bitmapSize, (byte) 0); long dataStart = peer + metadataSize + bitmapSize; int dataOffset = 0; int b = MemoryUtil.getByte(boffset); b |= 1 << (i & 7); MemoryUtil.setByte(boffset, (byte) b); continue;
MemoryUtil.setShort(peer + (metadataSize - 2), (short) dataSize); // goes at the end of the other offsets MemoryUtil.setByte(bitmapStart, bitmapSize, (byte) 0); long dataStart = peer + metadataSize + bitmapSize; int dataOffset = 0; int b = MemoryUtil.getByte(boffset); b |= 1 << (i & 7); MemoryUtil.setByte(boffset, (byte) b); continue;
MemoryUtil.setShort(peer + (metadataSize - 2), (short) dataSize); // goes at the end of the other offsets MemoryUtil.setByte(bitmapStart, bitmapSize, (byte) 0); long dataStart = peer + metadataSize + bitmapSize; int dataOffset = 0; int b = MemoryUtil.getByte(boffset); b |= 1 << (i & 7); MemoryUtil.setByte(boffset, (byte) b); continue;
MemoryUtil.setByte(peer + HAS_CELLPATH, (byte)(path == null ? 0 : 1)); MemoryUtil.setLong(peer + TIMESTAMP, timestamp); MemoryUtil.setInt(peer + TTL, ttl);
MemoryUtil.setByte(peer + HAS_CELLPATH, (byte)(path == null ? 0 : 1)); MemoryUtil.setLong(peer + TIMESTAMP, timestamp); MemoryUtil.setInt(peer + TTL, ttl);
MemoryUtil.setByte(peer + HAS_CELLPATH, (byte)(path == null ? 0 : 1)); MemoryUtil.setLong(peer + TIMESTAMP, timestamp); MemoryUtil.setInt(peer + TTL, ttl);
MemoryUtil.setByte(peer + HAS_CELLPATH, (byte)(path == null ? 0 : 1)); MemoryUtil.setLong(peer + TIMESTAMP, timestamp); MemoryUtil.setInt(peer + TTL, ttl);