(long offset)
| 37 | |
| 38 | |
| 39 | protected final ByteBuffer getSlice(long offset){ |
| 40 | ByteBuffer[] slices = this.slices; |
| 41 | int pos = (int)(offset >>> sliceShift); |
| 42 | if(pos>=slices.length) |
| 43 | throw new DBException.VolumeEOF("Get/Set beyond file size. Requested offset: "+offset+", volume size: "+length()); |
| 44 | return slices[pos]; |
| 45 | } |
| 46 | |
| 47 | @Override public final void putLong(final long offset, final long value) { |
| 48 | if(CC.VOLUME_PRINT_STACK_AT_OFFSET!=0 && CC.VOLUME_PRINT_STACK_AT_OFFSET>=offset && CC.VOLUME_PRINT_STACK_AT_OFFSET <= offset+8){ |
no test coverage detected