}
protected void setFlag(final long at, final int flag) {
assert (!_readOnly) : "update is not allowed for readOnly mode";
final long pageOffset = directToPageOffset(at);
final CloseableMappedByteBuffer buf = _mmfile.allocateBuffer(pageOffset);
final int offset = ((int) (at & LOGICAL_PAGE_MASK)) << 2;
final ByteBuffer bufimpl = buf.getBuffer();
final int old = bufimpl.getInt(offset);
bufimpl.putInt(offset, old | flag);
//IOUtils.closeQuietly(buf);
}